<commit_before>import os
from importd import d

__version__ = '0.2'

d(
    DEBUG='RESSL_DEBUG' in os.environ,
    INSTALLED_APPS=['djangosecure'],
    MIDDLEWARE_CLASSES=['djangosecure.middleware.SecurityMiddleware'],
    SECURE_SSL_REDIRECT=True,
    SECURE_PROXY_SSL_HEADER=(
        os.environ.get('RESSL_PROXY_PROTOCOL', 'HTTP_X_FORWARDED_PROTOCOL'),
        'https'
    ),
    ALLOWED_HOSTS=[
        host.strip()
        for host in os.environ.get('RESSL_ALLOWED_HOSTS', '').split(',')
    ],
)

# just for gunicorn<commit_msg>Bump version.<commit_after>import os
from importd import d

__version__ = '0.2.1'

d(
    DEBUG='RESSL_DEBUG' in os.environ,
    INSTALLED_APPS=['djangosecure'],
    MIDDLEWARE_CLASSES=['djangosecure.middleware.SecurityMiddleware'],
    SECURE_SSL_REDIRECT=True,
    SECURE_PROXY_SSL_HEADER=(
        os.environ.get('RESSL_PROXY_PROTOCOL', 'HTTP_X_FORWARDED_PROTOCOL'),
        'https'
    ),
    ALLOWED_HOSTS=[
        host.strip()
        for host in os.environ.get('RESSL_ALLOWED_HOSTS', '').split(',')
    ],
)

# just for gunicorn
{'fraction_non_alphanumeric': 0.1308411214953271, 'fraction_numerical': 0.004672897196261682, 'mean_word_length': 3.78125, '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': '6448208', 'n_tokens_mistral': 417, 'n_tokens_neox': 426, 'n_words': 58}