<commit_before>import os
import urlparse

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


class Config:
    APP_NAME = 'Flask-Base'
    SECRET_KEY = os.environ.get('SECRET_KEY') or \
        'SECRET_KEY_ENV_VAR_NOT_SET'<commit_msg>added print warning if secret key env var not set.<commit_after>import os
import urlparse

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


class Config:
    APP_NAME = 'Flask-Base'
    if os.environ.get('SECRET_KEY'):
        SECRET_KEY = os.environ.get('SECRET_KEY')
    else:
        SECRET_KEY = 'SECRET_KEY_ENV_VAR_NOT_SET'
        print 'SECRET KEY ENV VAR NOT SET! SHOULD NOT SEE IN PRODUDCTION'
{'fraction_non_alphanumeric': 0.1021671826625387, 'fraction_numerical': 0.0, 'mean_word_length': 3.7925925925925927, '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': '6358415', 'n_tokens_mistral': 248, 'n_tokens_neox': 243, 'n_words': 51}