<commit_before>from fabric.state import env
from fabric.decorators import task
from fabric.operations import local
from frojd_fabric.utils import get_stage_var
from frojd_fabric.utils.elocal import elocal



@task
def local_django(default=True):
    env.run = elocal
    env.stage = "demo"
    env.branch = "develop"
    # env.domain = ""
    # env.symlink_name = ""
    # env.hosts = []
    env.user = "root"
    env.password = "password"
    env.app_path = get_stage_var("APP_PATH")
    env.source_path = get_stage_var("APP_SOURCE_PATH")
    env.warn_only = False
    env.max_releases = 5

    # Django
    env.requirements = "prod.txt"
<commit_msg>Replaced cd with lcd. Added cd to env<commit_after>from fabric.state import env
from fabric.decorators import task
from fabric.operations import local
from fabric.context_managers import lcd
from frojd_fabric.utils import get_stage_var
from frojd_fabric.utils.elocal import elocal



@task
def local_django(default=True):
    env.run = elocal
    env.cd = lcd
    env.stage = "demo"
    env.branch = "develop"
    # env.domain = ""
    # env.symlink_name = ""
    # env.hosts = []
    env.user = "root"
    env.password = "password"
    env.app_path = get_stage_var("APP_PATH")
    env.source_path = get_stage_var("APP_SOURCE_PATH")
    env.warn_only = False
    env.max_releases = 5

    # Django
    env.requirements = "prod.txt"

{'fraction_non_alphanumeric': 0.10267534345625452, 'fraction_numerical': 0.0014461315979754157, 'mean_word_length': 3.3797468354430378, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5284027', 'n_tokens_mistral': 482, 'n_tokens_neox': 459, 'n_words': 107}