<commit_before># -*- coding: utf-8 -*-
import os
basedir = os.path.abspath(os.path.dirname(__file__))

os_env = os.environ

class Config(object):
    SECRET_KEY = os_env.get('RECRUIT_APP_SECRET', 'secret-key')  # TODO: Change me
    REDIS_URL = os.getenv('REDISTOGO_URL')
    APP_DIR = os.path.abspath(os.path.dirname(__file__))  # This directory
    PROJECT_ROOT = os.path.abspath(os.path.join(APP_DIR, os.pardir))
    BCRYPT_LOG_ROUNDS = 13
    ASSETS_DEBUG = True
    DEBUG_TB_ENABLED = False  # Disable Debug toolbar
    DEBUG_TB_INTERCEPT_REDIRECTS = False
    CACHE_TYPE = os.getenv('CACHE_TYPE', 'null')  # Can be "memcached", "redis", etc.
    SECURITY_PASSWORD_HASH = os.getenv('SECURITY_PASSWORD_HASH', '<PASSWORD>')
    SECURITY_PASSWORD_SALT = os.getenv('SECURITY_PASSWORD_SALT', '<PASSWORD>')
    SECURITY_CONFIRMABLE = True
    SECURITY_REGISTERABLE = True
    SECURITY_RECOVERABLE = True
    SECURITY_CHANGEABLE = True
    SECURITY_TRACKABLE = True

    SECURITY_REGISTER_USER_TEMPLATE = 'public/register.html'
    SECURITY_LOGIN_USER_TEMPLATE = 'public/login.html'
    SECURITY_FORGOT_PASSWORD_TEMPLATE = 'public/forgot.html'
    SECURITY_CHANGE_PASSWORD_TEMPLATE = 'public/change.html'
    SECURITY_RESET_PASSWORD_TEMPLATE = 'public/reset.html'

    MAIL_SERVER = 'smtp.gmail.com'
    MAIL_PORT = 465<commit_msg>Read MAIL_SERVER from environment<commit_after># -*- coding: utf-8 -*-
import os
basedir = os.path.abspath(os.path.dirname(__file__))

os_env = os.environ

class Config(object):
    SECRET_KEY = os_env.get('RECRUIT_APP_SECRET', 'secret-key')  # TODO: Change me
    REDIS_URL = os.getenv('REDISTOGO_URL')
    APP_DIR = os.path.abspath(os.path.dirname(__file__))  # This directory
    PROJECT_ROOT = os.path.abspath(os.path.join(APP_DIR, os.pardir))
    BCRYPT_LOG_ROUNDS = 13
    ASSETS_DEBUG = True
    DEBUG_TB_ENABLED = False  # Disable Debug toolbar
    DEBUG_TB_INTERCEPT_REDIRECTS = False
    CACHE_TYPE = os.getenv('CACHE_TYPE', 'null')  # Can be "memcached", "redis", etc.
    SECURITY_PASSWORD_HASH = os.getenv('SECURITY_PASSWORD_HASH', '<PASSWORD>')
    SECURITY_PASSWORD_SALT = os.getenv('SECURITY_PASSWORD_SALT', '<PASSWORD>')
    SECURITY_CONFIRMABLE = True
    SECURITY_REGISTERABLE = True
    SECURITY_RECOVERABLE = True
    SECURITY_CHANGEABLE = True
    SECURITY_TRACKABLE = True

    SECURITY_REGISTER_USER_TEMPLATE = 'public/register.html'
    SECURITY_LOGIN_USER_TEMPLATE = 'public/login.html'
    SECURITY_FORGOT_PASSWORD_TEMPLATE = 'public/forgot.html'
    SECURITY_CHANGE_PASSWORD_TEMPLATE = 'public/change.html'
    SECURITY_RESET_PASSWORD_TEMPLATE = 'public/reset.html'

    MAIL_SERVER = os.getenv('MAIL_SERVER', 'smtp.gmail.com')
    MAIL_PORT = os.getenv('MAIL_PORT', 465)
{'fraction_non_alphanumeric': 0.11070381231671554, 'fraction_numerical': 0.004398826979472141, 'mean_word_length': 4.5242914979757085, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '202912', 'n_tokens_mistral': 1080, 'n_tokens_neox': 1045, 'n_words': 154}