<commit_before># Package:  fabfile
# Date:     18th June 2013
# Author:   <NAME>, j dot mills at griffith dot edu dot au


"""Development Task"""


from __future__ import print_function

from os import getcwd


from fabric.api import (
    abort, cd, execute, hide, hosts,
    local, prefix, prompt, run, settings, task
)


import help  # noqa
import docs  # noqa
from .utils import msg, pip, requires, tobool


@task()
@requires("pip")
def build(**options):
    """Build and install required dependencies

    Options can be provided to customize the build.
    The following options are supported:

    - dev -> Whether to install in development mode (Default: Fase)
    """

    dev = tobool(options.get("dev", False))

    if dev:
        pip("requirements-dev.txt")<commit_msg>Oops somehow we broke the build() Fabric task :/<commit_after># Package:  fabfile
# Date:     18th June 2013
# Author:   <NAME>, j dot mills at griffith dot edu dot au


"""Development Task"""


from __future__ import print_function

from os import getcwd


from fabric.api import (
    abort, cd, execute, hide, hosts,
    local, prefix, prompt, run, settings, task
)


import help  # noqa
import docs  # noqa
from .utils import msg, pip, requires, tobool


@task()
@requires("pip")
def build(**options):
    """Build and install required dependencies

    Options can be provided to customize the build.
    The following options are supported:

    - dev -> Whether to install in development mode (Default: Fase)
    """

    dev = tobool(options.get("dev", False))

    if dev:
        pip(requirements="requirements-dev.txt")
{'fraction_non_alphanumeric': 0.10235732009925558, 'fraction_numerical': 0.007444168734491315, 'mean_word_length': 3.431318681318681, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5244009', 'n_tokens_mistral': 512, 'n_tokens_neox': 467, 'n_words': 191}