<commit_before>"""
Django settings for AMY project.
"""

from django.core.exceptions import ImproperlyConfigured
from django.utils.translation import ugettext_lazy as _
import environ


ROOT_DIR = environ.Path(__file__) - 2  # (amy/config/settings.py - 2 = amy/)
BASE_DIR = ROOT_DIR()
APPS_DIR = ROOT_DIR.path("amy")

env = environ.Env()

READ_DOT_ENV_FILE = env.bool("AMY_READ_DOT_ENV_FILE", default=False)
if READ_DOT_ENV_FILE:
    # OS environment variables take precedence over variables from .env
    env.read_env(str(ROOT_DIR.path(".env")))

CONTINUOUS_INTEGRATION = env.bool("CONTINUOUS_INTEGRATION", default=False)

# GENERAL
# -----------------------------------------------------------------------------
# https://docs.djangoproject.com/en/dev/ref/settings/#debug
DEBUG = env.bool("AMY_DEBUG", True)
# Local time zone. Choices are
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# though not all of them may be available with every OS.
# In Windows, this must be set to your system time zone.
TIME_ZONE = "UTC"<commit_msg>Update `CI` envvar value<commit_after>"""
Django settings for AMY project.
"""

from django.core.exceptions import ImproperlyConfigured
from django.utils.translation import ugettext_lazy as _
import environ


ROOT_DIR = environ.Path(__file__) - 2  # (amy/config/settings.py - 2 = amy/)
BASE_DIR = ROOT_DIR()
APPS_DIR = ROOT_DIR.path("amy")

env = environ.Env()

READ_DOT_ENV_FILE = env.bool("AMY_READ_DOT_ENV_FILE", default=False)
if READ_DOT_ENV_FILE:
    # OS environment variables take precedence over variables from .env
    env.read_env(str(ROOT_DIR.path(".env")))

CONTINUOUS_INTEGRATION = env.bool("CI", default=False)

# GENERAL
# -----------------------------------------------------------------------------
# https://docs.djangoproject.com/en/dev/ref/settings/#debug
DEBUG = env.bool("AMY_DEBUG", True)
# Local time zone. Choices are
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# though not all of them may be available with every OS.
# In Windows, this must be set to your system time zone.
TIME_ZONE = "UTC"
{'fraction_non_alphanumeric': 0.1815548044422984, 'fraction_numerical': 0.001931434089811685, 'mean_word_length': 3.3529411764705883, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '611452', 'n_tokens_mistral': 679, 'n_tokens_neox': 676, 'n_words': 166}