<commit_before># Default to local settings override, if available.
# If not, default to development settings.

try:
    from .local import *
except ImportError:
    from .development import *
<commit_msg>Revert __init__.py to old state.<commit_after># Smarter settings working, based on work by <NAME>
# http://www.robgolding.com/blog/2010/05/03/extending-settings-variables-with-local_settings-py-in-django/

import sys

try:
    from .local import *
except ImportError:
    # Throw a return value of 1 and exit with a SystemExit exception
    # Ref: http://docs.python.org/library/sys.html#sys.exit
    sys.exit('Local settings file not found. Please run `prepare.sh` to create one.')

{'fraction_non_alphanumeric': 0.10189228529839883, 'fraction_numerical': 0.013100436681222707, 'mean_word_length': 3.879432624113475, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 1, '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': '101677', 'n_tokens_mistral': 213, 'n_tokens_neox': 204, 'n_words': 70}