<commit_before>import os
basedir = os.path.abspath(os.path.dirname(__file__))

SQLALCHEMY_DATABASE_URI = os.environ.get('DEV_DATABASE_URL') or \
    'sqlite:///' + os.path.join(basedir, 'data-dev.sqlite')
SQLALCHEMY_COMMIT_ON_TEARDOWN = True
SQLALCHEMY_TRACK_MODIFICATIONS  = False

DEBUG = True

CSRF_ENABLED = True
SECRET_KEY = 'you-guess'

BABEL_DEFAULT_LOCALE = 'zh_Hans_CN'

# 邮件支持
MAIL_SERVER = 'smtp.163.com'
MAIL_PORT = 25
MAIL_USERNAME = os.environ.get('MAIL_USERNAME')
MAIL_PASSWORD = <PASSWORD>('MAIL_PASSWORD')
# 管理员邮箱
ADMINS = os.environ.get('ADMINS_MAIL')<commit_msg>添加分页配置<commit_after>import os
basedir = os.path.abspath(os.path.dirname(__file__))

SQLALCHEMY_DATABASE_URI = os.environ.get('DEV_DATABASE_URL') or \
    'sqlite:///' + os.path.join(basedir, 'data-dev.sqlite')
SQLALCHEMY_COMMIT_ON_TEARDOWN = True
SQLALCHEMY_TRACK_MODIFICATIONS  = False

DEBUG = True

CSRF_ENABLED = True
SECRET_KEY = 'you-guess'

BABEL_DEFAULT_LOCALE = 'zh_Hans_CN'

# 邮件支持
MAIL_SERVER = 'smtp.163.com'
MAIL_PORT = 25
MAIL_USERNAME = os.environ.get('MAIL_USERNAME')
MAIL_PASSWORD = <PASSWORD>.get('MAIL_PASSWORD')
# 管理员邮箱
ADMINS = os.environ.get('ADMINS_MAIL')

# 分页
POSTS_PER_PAGE = 3
{'fraction_non_alphanumeric': 0.13091216216216217, 'fraction_numerical': 0.009290540540540541, 'mean_word_length': 5.970588235294118, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6732659', 'n_tokens_mistral': 533, 'n_tokens_neox': 550, 'n_words': 70}