<commit_before>import os
from rhizome.settings.base import *

""" ENV default 'test' """

env = os.environ.get('ENV', 'development')
instance = os.environ.get('INSTANCE', '')

if instance == 'docker':
    from rhizome.settings.docker import *

if env == 'production':
    from rhizome.settings.production import *
elif env == 'test':
    from rhizome.settings.test import *
else:
    from rhizome.settings.development import *<commit_msg>better handling of development settings<commit_after>import os
from rhizome.settings.base import *

""" ENV default 'test' """

env = os.environ.get('ENV', 'test')
instance = os.environ.get('INSTANCE', '')

if instance == 'docker':
    from rhizome.settings.docker import *

if env == 'production':
    from rhizome.settings.production import *
elif env == 'test':
    from rhizome.settings.test import *

## import ODK_SETTING, and anything specifc to personal development ##
## for instance if you need an API key from rapid pro, you would store it
## in development settings ##

try:
    from rhizome.settings.development import *
except ImportError:
    pass
{'fraction_non_alphanumeric': 0.12454545454545454, 'fraction_numerical': 0.0, 'mean_word_length': 4.318840579710145, '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': '7561465', 'n_tokens_mistral': 329, 'n_tokens_neox': 326, 'n_words': 103}