<commit_before># Django settings for the Kitchen project.
import os

import djcelery
djcelery.setup_loader()


DEBUG = True
TEMPLATE_DEBUG = DEBUG

BASE_PATH = os.path.abspath(os.path.dirname(__file__))

# Kitchen settings #
REPO_BASE_PATH = os.path.join(BASE_PATH, "dashboard")
REPO = {
    'NAME': "testrepo",
    'URL': "",
    'SYNC_SCHEDULE': 60,  # seconds
    'KITCHEN_SUBDIR': '',
    'EXCLUDE_ROLE_PREFIX': 'env',
    'DEFAULT_ENV': 'production',
    'DEFAULT_VIRT': 'guest',
}
SHOW_VIRT_VIEW = True

LOG_FILE = '/tmp/kitchen.log'
##

ADMINS = ()

MANAGERS = ADMINS

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': 'kitchen.sql',
    }
}

# Celery broker url
BROKER_URL = "django://"

MEDIA_ROOT = ''
MEDIA_URL = ''
STATIC_ROOT = os.path.join(BASE_PATH, 'dashboard', 'static')
STATIC_URL = '/static/'

# Additional locations of static files
STATICFILES_DIRS = (
)

STATICFILES_FINDERS = (
    'django.contrib.staticfiles.finders.FileSystemFinder',
    'django.contrib.staticfiles.finders.AppDirectoriesFinder',
#    'django.contrib.staticfiles.finders.DefaultStorageFinder',
)

SECRET_KEY = 'i#5u!2+wpw+4&8tzom)&@-4p(h4jai7#)r5@^i=sl%_-8-2mb*'

TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.Loader',
    'django.template.loaders.app_directories.Loader',
#     'django.template.loaders.eggs.Loader',
)

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 = 'kitchen.urls'

TEMPLATE_DIRS = (
    BASE_PATH + '/templates',
)

INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    "djcelery",
    "djkombu",
    "kitchen.dashboard"
)

LOGGING = {<commit_msg>Add nose test runner<commit_after># Django settings for the Kitchen project.
import os

import djcelery
djcelery.setup_loader()


DEBUG = True
TEMPLATE_DEBUG = DEBUG

BASE_PATH = os.path.abspath(os.path.dirname(__file__))

# Kitchen settings #
REPO_BASE_PATH = os.path.join(BASE_PATH, "dashboard")
REPO = {
    'NAME': "testrepo",
    'URL': "",
    'SYNC_SCHEDULE': 60,  # seconds
    'KITCHEN_SUBDIR': '',
    'EXCLUDE_ROLE_PREFIX': 'env',
    'DEFAULT_ENV': 'production',
    'DEFAULT_VIRT': 'guest',
}
SHOW_VIRT_VIEW = True

LOG_FILE = '/tmp/kitchen.log'
##

ADMINS = ()

MANAGERS = ADMINS

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': 'kitchen.sql',
    }
}

# Celery broker url
BROKER_URL = "django://"

MEDIA_ROOT = ''
MEDIA_URL = ''
STATIC_ROOT = os.path.join(BASE_PATH, 'dashboard', 'static')
STATIC_URL = '/static/'

# Additional locations of static files
STATICFILES_DIRS = (
)

STATICFILES_FINDERS = (
    'django.contrib.staticfiles.finders.FileSystemFinder',
    'django.contrib.staticfiles.finders.AppDirectoriesFinder',
#    'django.contrib.staticfiles.finders.DefaultStorageFinder',
)

SECRET_KEY = '<KEY>

TEMPLATE_LOADERS = (
    'django.template.loaders.filesystem.Loader',
    'django.template.loaders.app_directories.Loader',
#     'django.template.loaders.eggs.Loader',
)

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 = 'kitchen.urls'

TEMPLATE_DIRS = (
    BASE_PATH + '/templates',
)

INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    "djcelery",
    "djkombu",
    "kitchen.dashboard",
    'django_nose',
)

TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'

LOGGING = {
{'fraction_non_alphanumeric': 0.14638875424139602, 'fraction_numerical': 0.003877847794474067, 'mean_word_length': 4.165206508135169, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '2442062', 'n_tokens_mistral': 1536, 'n_tokens_neox': 1519, 'n_words': 208}