<commit_before>import os
from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS as TCP

# Default settings that can be overwritten in secrets
DEBUG = True
SECRET_KEY = 'foobar'
DATABASE_ENGINE = 'django.db.backends.sqlite3'
DATABASE_NAME = 'julython.db'
DATABASE_PASSWORD = ''
DATABASE_SERVER = ''
DATABASE_USER = ''
LOGFILE_PATH = os.path.expanduser('~/julython.log')

try:
    DEBUG = False
    from secrets import *
except ImportError:
    DEBUG = True

if DEBUG:
    import warnings
    warnings.filterwarnings(
        'error', r"DateTimeField received a naive datetime",
        RuntimeWarning, r'django\.db\.models\.fields')

CURRENT_DIR = os.path.abspath(os.path.dirname(__file__))<commit_msg>Adding more default settings to allow tests to pass.<commit_after>import os
from django.conf.global_settings import TEMPLATE_CONTEXT_PROCESSORS as TCP

# Default settings that can be overwritten in secrets
DEBUG = True
SECRET_KEY = 'foobar'
DATABASE_ENGINE = 'django.db.backends.sqlite3'
DATABASE_NAME = 'julython.db'
DATABASE_PASSWORD = ''
DATABASE_SERVER = ''
DATABASE_USER = ''
LOGFILE_PATH = os.path.expanduser('~/julython.log')
TWITTER_CONSUMER_KEY = ''
TWITTER_CONSUMER_SECRET = ''
GITHUB_CONSUMER_KEY = ''
GITHUB_CONSUMER_SECRET = ''
GITHUB_APP_ID = GITHUB_CONSUMER_KEY
GITHUB_API_SECRET = GITHUB_CONSUMER_SECRET
EMAIL_HOST = '127.0.0.1'
EMAIL_PORT = '1025'

try:
    DEBUG = False
    from secrets import *
except ImportError:
    DEBUG = True

if DEBUG:
    import warnings
    warnings.filterwarnings(
        'error', r"DateTimeField received a naive datetime",
        RuntimeWarning, r'django\.db\.models\.fields')

CURRENT_DIR = os.path.abspath(os.path.dirname(__file__))
{'fraction_non_alphanumeric': 0.09888169511477339, 'fraction_numerical': 0.007062978222483814, 'mean_word_length': 4.723905723905724, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, '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': '7010232', 'n_tokens_mistral': 617, 'n_tokens_neox': 593, 'n_words': 127}