<commit_before>import os
import sys


# Calculate current directory path and add it to ``sys.path``
DIRNAME = os.path.abspath(os.path.dirname(__file__))
sys.path.append(DIRNAME)

# Debug settings
DEBUG = True
TEMPLATE_DEBUG = DEBUG

# Test settings
TDDSPRY_TEST_CASE = 'django.test.TestCase'

# Authentication settings
AUTH_PROFILE_MODULE = 'testapp.UserProfile'
LOGIN_URL = '/login/'
LOGIN_REDIRECT_URL = '/'
LOGOUT_URL = '/logout/'

# Database settings
# Please, set proper database settings in ``settings_local.py`` file
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(DIRNAME, 'testproject.db'),
    },
}

# Date and time settings
TIME_ZONE = 'Europe/Kiev'

# Installed applications
INSTALLED_APPS = (
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.flatpages',
    'django.contrib.sessions',
    'django.contrib.sites',

    'registration',

    'testproject.testapp',
)

# Fixture directories
FIXTURE_DIRS = (
    os.path.join(DIRNAME, 'fixtures'),
)

# Media files settings
MEDIA_ROOT = os.path.join(DIRNAME, 'static')
MEDIA_URL = '/static/'

# Middleware settings
MIDDLEWARE_CLASSES = (
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.middleware.locale.LocaleMiddleware',
)

# Session settings
SESSION_COOKIE_NAME = 'testproject_sid'

# Template settings
TEMPLATE_CONTEXT_PROCESSORS = (
    'django.core.context_processors.auth',
    'django.core.context_processors.i18n',
    'django.core.context_processors.media',
)
TEMPLATE_DIRS = (
    os.path.join(DIRNAME, 'templates'),
)

# Other **Django** settings
ROOT_URLCONF = 'testproject.urls'
SECRET_KEY = 'set proper value in ``settings_local.py`` file'
SITE_ID = 1

# ``django-registration`` settings
ACCOUNT_ACTIVATION_DAYS = 30
<commit_msg>#50: Implement ``TEST_DISABLED_APPS`` settings, update ``INSTALLED_APPS`` list.<commit_after>import os
import sys


# Calculate current directory path and add it to ``sys.path``
DIRNAME = os.path.abspath(os.path.dirname(__file__))
sys.path.append(DIRNAME)

# Debug settings
DEBUG = True
TEMPLATE_DEBUG = DEBUG

# Authentication settings
AUTH_PROFILE_MODULE = 'testapp.UserProfile'
LOGIN_URL = '/login/'
LOGIN_REDIRECT_URL = '/'
LOGOUT_URL = '/logout/'

# Database settings
# Please, set proper database settings in ``settings_local.py`` file
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(DIRNAME, 'testproject.db'),
    },
}

# Date and time settings
TIME_ZONE = 'Europe/Kiev'

# Installed applications
INSTALLED_APPS = (
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.flatpages',
    'django.contrib.sessions',
    'django.contrib.sites',

    'registration',

    'testproject.disabled.attr',
    'testproject.disabled.setting',

    'testproject.testapp',
)

# Fixture directories
FIXTURE_DIRS = (
    os.path.join(DIRNAME, 'fixtures'),
)

# Media files settings
MEDIA_ROOT = os.path.join(DIRNAME, 'static')
MEDIA_URL = '/static/'

# Middleware settings
MIDDLEWARE_CLASSES = (
    'django.middleware.common.CommonMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.middleware.locale.LocaleMiddleware',
)

# Session settings
SESSION_COOKIE_NAME = 'testproject_sid'

# Template settings
TEMPLATE_CONTEXT_PROCESSORS = (
    'django.core.context_processors.auth',
    'django.core.context_processors.i18n',
    'django.core.context_processors.media',
)
TEMPLATE_DIRS = (
    os.path.join(DIRNAME, 'templates'),
)

# Test settings
TDDSPRY_TEST_CASE = 'django.test.TestCase'
TEST_DISABLED_APPS = ('testproject.disabled.setting', )

# Other **Django** settings
ROOT_URLCONF = 'testproject.urls'
SECRET_KEY = 'set proper value in ``settings_local.py`` file'
SITE_ID = 1

# ``django-registration`` settings
ACCOUNT_ACTIVATION_DAYS = 30

{'fraction_non_alphanumeric': 0.12992700729927006, 'fraction_numerical': 0.0034063260340632603, 'mean_word_length': 4.623803009575924, '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': '1425523', 'n_tokens_mistral': 1407, 'n_tokens_neox': 1390, 'n_words': 250}