<commit_before>import os


class Config(object):
    SECRET_KEY = os.environ['SECRET_KEY']
    DANGEROUS_SALT = os.environ['DANGEROUS_SALT']
    NOTIFY_LOG_LEVEL = os.environ['NOTIFY_LOG_LEVEL']
    DELIVERY_LOG_LEVEL = os.environ['DELIVERY_LOG_LEVEL']
    API_HOST_NAME = os.environ['API_HOST_NAME']
    DELIVERY_CLIENT_USER_NAME = os.environ['DELIVERY_CLIENT_USER_NAME']
    DELIVERY_CLIENT_SECRET = os.environ['DELIVERY_CLIENT_SECRET']
    JOB_POLL_INTERVAL_SECONDS = int(os.environ['JOB_POLL_INTERVAL_SECONDS'])
    DELIVERY_POLL_INTERVAL_SECONDS = int(os.environ['DELIVERY_POLL_INTERVAL_SECONDS'])
    AWS_REGION = os.environ['AWS_REGION']
    NOTIFY_JOB_QUEUE = os.environ['NOTIFY_JOB_QUEUE']
    NOTIFY_DATA_API_URL = os.environ['NOTIFY_DATA_API_URL']
    NOTIFY_DATA_API_AUTH_TOKEN = os.environ['NOTIFY_DATA_API_AUTH_TOKEN']
    PROCESSOR_MAX_NUMBER_OF_MESSAGES = int(os.environ['PROCESSOR_MAX_NUMBER_OF_MESSAGES'])
    PROCESSOR_VISIBILITY_TIMEOUT = int(os.environ['PROCESSOR_VISIBILITY_TIMEOUT'])
    NOTIFICATION_QUEUE_PREFIX = os.environ['NOTIFICATION_QUEUE_PREFIX']
    NOTIFICATION_ATTRIBUTES = ['type', 'notification_id', 'service_id', 'template_id']
    TWILIO_ACCOUNT_SID = os.environ['TWILIO_ACCOUNT_SID']
    TWILIO_AUTH_TOKEN = os.environ['TWILIO_AUTH_TOKEN']
    TWILIO_NUMBER = os.environ['TWILIO_NUMBER']

    # the following do not change per environment so can be set here
    NOTIFY_APP_NAME = 'delivery'
    NOTIFY_LOG_PATH = '/var/log/notify/application.log'
    DELIVERY_LOG_PATH = '/var/log/notify/delivery.log'
    NOTIFICATION_ATTRIBUTES = ['type', 'message_id', 'service_id', 'template_id']


class Development(Config):
    DEBUG = True


class Test(Development):
    TURN_OFF_LOGGING = True<commit_msg>Update to config.<commit_after>import os


class Config(object):
    SECRET_KEY = os.environ['SECRET_KEY']
    DANGEROUS_SALT = os.environ['DANGEROUS_SALT']
    NOTIFY_LOG_LEVEL = os.environ['NOTIFY_LOG_LEVEL']
    DELIVERY_LOG_LEVEL = os.environ['DELIVERY_LOG_LEVEL']
    API_HOST_NAME = os.environ['API_HOST_NAME']
    DELIVERY_CLIENT_USER_NAME = os.environ['DELIVERY_CLIENT_USER_NAME']
    DELIVERY_CLIENT_SECRET = os.environ['DELIVERY_CLIENT_SECRET']
    JOB_POLL_INTERVAL_SECONDS = int(os.environ['JOB_POLL_INTERVAL_SECONDS'])
    DELIVERY_POLL_INTERVAL_SECONDS = int(os.environ['DELIVERY_POLL_INTERVAL_SECONDS'])
    AWS_REGION = os.environ['AWS_REGION']
    NOTIFY_JOB_QUEUE = os.environ['NOTIFY_JOB_QUEUE']
    NOTIFY_DATA_API_URL = os.environ['NOTIFY_DATA_API_URL']
    NOTIFY_DATA_API_AUTH_TOKEN = os.environ['NOTIFY_DATA_API_AUTH_TOKEN']
    PROCESSOR_MAX_NUMBER_OF_MESSAGES = int(os.environ['PROCESSOR_MAX_NUMBER_OF_MESSAGES'])
    PROCESSOR_VISIBILITY_TIMEOUT = int(os.environ['PROCESSOR_VISIBILITY_TIMEOUT'])
    NOTIFICATION_QUEUE_PREFIX = os.environ['NOTIFICATION_QUEUE_PREFIX']
    TWILIO_ACCOUNT_SID = os.environ['TWILIO_ACCOUNT_SID']
    TWILIO_AUTH_TOKEN = os.environ['TWILIO_AUTH_TOKEN']
    TWILIO_NUMBER = os.environ['TWILIO_NUMBER']

    # the following do not change per environment so can be set here
    NOTIFY_APP_NAME = 'delivery'
    NOTIFY_LOG_PATH = '/var/log/notify/application.log'
    DELIVERY_LOG_PATH = '/var/log/notify/delivery.log'
    NOTIFICATION_ATTRIBUTES = ['type', 'notification_id', 'service_id', 'template_id']


class Development(Config):
    DEBUG = True


class Test(Development):
    TURN_OFF_LOGGING = True
{'fraction_non_alphanumeric': 0.10459634649381261, 'fraction_numerical': 0.0, 'mean_word_length': 5.928571428571429, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6659768', 'n_tokens_mistral': 1301, 'n_tokens_neox': 1308, 'n_words': 152}