<commit_before>import os
import logging
import logging.config

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


class Config:
    DEBUG = False
    TESTING = False

    SECRET_KEY = '<KEY>=^&*+<KEY>^%_yp4u'

    CSRF = True
    CSRF_SECRET = 'im!mx2m(69)b^7n3j!yi)k!a7n(^09=^&*+pnan78hl^%_yp4u'

    UPLOAD_FOLDER = os.path.join(BASEDIR, 'media')
    ALLOWED_EXTENSIONS = {
        'txt', 'pdf', 'png', 'jpg',
        'jpeg', 'gif', 'doc', 'docx',
    }
    MAX_CONTENT_LENGTH = 15 * 1024 * 1024

    FIXTURES_DIR = os.path.join(BASEDIR, 'fixtures')

    # Celery
    CELERY_IMPORTS = ("project.tasks.mail", )
    CELERY_BROKER_URL = 'redis://localhost:6379/0'
    CELERY_BACKEND_URL = CELERY_BROKER_URL

    # Email
    MAIL_SERVER = 'smtp.yandex.ru'
    MAIL_PORT = 465
    MAIL_USE_SSL = True
    MAILS_TO_SEND = ['<EMAIL>']
    MAIL_USERNAME = '<EMAIL>'
    MAIL_PASSWORD = '<PASSWORD>'
    MAIL_DEFAULT_SENDER = '<EMAIL>'<commit_msg>Added IMG_EXTENSIONS to config<commit_after>import os
import logging
import logging.config

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


class Config:
    DEBUG = False
    TESTING = False

    SECRET_KEY = '<KEY>^&*+<KEY>^%_yp4u'

    CSRF = True
    CSRF_SECRET = 'im!mx2m(69)b^7n3j!yi)k!a7n(^09=^&*+pnan78hl^%_yp4u'

    UPLOAD_FOLDER = os.path.join(BASEDIR, 'media')
    IMG_EXTENSIONS = {
        'gif', 'jpeg', 'jpg', 'png',
    }
    ALLOWED_EXTENSIONS = {
        'txt', 'pdf', 'png', 'jpg',
        'jpeg', 'gif', 'doc', 'docx',
    }
    MAX_CONTENT_LENGTH = 15 * 1024 * 1024

    FIXTURES_DIR = os.path.join(BASEDIR, 'fixtures')

    # Celery
    CELERY_IMPORTS = ("project.tasks.mail", )
    CELERY_BROKER_URL = 'redis://localhost:6379/0'
    CELERY_BACKEND_URL = CELERY_BROKER_URL

    # Email
    MAIL_SERVER = 'smtp.yandex.ru'
    MAIL_PORT = 465
    MAIL_USE_SSL = True
    MAILS_TO_SEND = ['<EMAIL>']
    MAIL_USERNAME = '<EMAIL>'
    MAIL_PASSWORD = '<PASSWORD>'
    MAIL_DEFAULT_SENDER = '<EMAIL>'
{'fraction_non_alphanumeric': 0.1532994923857868, 'fraction_numerical': 0.030456852791878174, 'mean_word_length': 3.284782608695652, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '5054978', 'n_tokens_mistral': 901, 'n_tokens_neox': 837, 'n_words': 129}