<commit_before>import logging
LOG = logging.getLogger('snowbird')
LOG.addHandler(logging.FileHandler('snowbird.log'))


DEBUG = True
TEMPLATE_DEBUG = DEBUG

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
        'NAME': 'snowbird_test',                      # Or path to database file if using sqlite3.
    },
    'number_two': {
        'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
        'NAME': 'snowbird_test2',                      # Or path to database file if using sqlite3.
    }
}


#MIDDLEWARE_CLASSES = (
    #'django.middleware.common.CommonMiddleware',
    #'django.contrib.sessions.middleware.SessionMiddleware',
    #'django.middleware.csrf.CsrfViewMiddleware',
    #'django.contrib.auth.middleware.AuthenticationMiddleware',
    #'django.contrib.messages.middleware.MessageMiddleware',
#)

#ROOT_URLCONF = 'dummy.urls'


INSTALLED_APPS = (
    #'django.contrib.auth',
    #'django.contrib.contenttypes',
    #'django.contrib.sessions',
    #'django.contrib.sites',
    #'django.contrib.messages',
    # Uncomment the next line to enable the admin:
    # 'django.contrib.admin',
    # Uncomment the next line to enable admin documentation:
    # 'django.contrib.admindocs',
    'django_nose',
    'snowbird.tests',
)
try:
    import django_extensions
    INSTALLED_APPS += ('django_extensions', )
except ImportError:
    pass

TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
<commit_msg>removes unnecessary settings<commit_after>import logging
LOG = logging.getLogger('snowbird')
LOG.addHandler(logging.FileHandler('snowbird.log'))


DEBUG = True
TEMPLATE_DEBUG = DEBUG

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
        'NAME': 'snowbird_test',                      # Or path to database file if using sqlite3.
    },
    'number_two': {
        'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
        'NAME': 'snowbird_test2',                      # Or path to database file if using sqlite3.
    }
}

INSTALLED_APPS = (
    'django_nose',
    'snowbird.tests',
)
try:
    import django_extensions
    INSTALLED_APPS += ('django_extensions', )
except ImportError:
    pass

TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'

{'fraction_non_alphanumeric': 0.1346153846153846, 'fraction_numerical': 0.007211538461538462, 'mean_word_length': 3.435168738898757, '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': '3713688', 'n_tokens_mistral': 852, 'n_tokens_neox': 812, 'n_words': 159}