<commit_before>from __future__ import absolute_import
from __future__ import unicode_literals


class Config(object):
    DEBUG = False
    TESTING = False

    # Host for the redis server
    REDIS = 'redis'

    # Define the application directory
    import os
    BASE_DIR = os.path.abspath(os.path.dirname(__file__))

    # Log file (the directory must exist)
    APPLICATION_LOG = os.path.join(BASE_DIR, 'log', 'application.log')

    # Secret key for flask sessions and CSRF protection
    SECRET_KEY = "secret key that you need to change, seriously!"

class ProductionConfig(Config):
    pass

class DevelopmentConfig(Config):
    DEBUG = True

class TestingConfig(Config):
    TESTING = True
    DEBUG = True


# Default configuration
default = DevelopmentConfig<commit_msg>Add GITLAB_HOOK parameter to config<commit_after>from __future__ import absolute_import
from __future__ import unicode_literals


class Config(object):
    DEBUG = False
    TESTING = False

    # Host for the redis server
    REDIS = 'redis'

    # Gitlab hook url
    GITLAB_HOOK = '/hooks/bWxNGVQij55cCZigeKDlXf9P6L14bKc4AhdPmPL5mEc='

    # Define the application directory
    import os
    BASE_DIR = os.path.abspath(os.path.dirname(__file__))

    # Log file (the directory must exist)
    APPLICATION_LOG = os.path.join(BASE_DIR, 'log', 'application.log')

    # Secret key for flask sessions and CSRF protection
    SECRET_KEY = "secret key that you need to change, seriously!"

class ProductionConfig(Config):
    pass

class DevelopmentConfig(Config):
    DEBUG = True

class TestingConfig(Config):
    TESTING = True
    DEBUG = True


# Default configuration
default = DevelopmentConfig
{'fraction_non_alphanumeric': 0.07198096371207614, 'fraction_numerical': 0.004759071980963712, 'mean_word_length': 3.764872521246459, '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': '1809298', 'n_tokens_mistral': 526, 'n_tokens_neox': 497, 'n_words': 154}