<commit_before>#!/usr/bin/env python
import os
import sys

if __name__ == "__main__":

    DJANGOENV = os.environ.get('DJANGOENV', 'develop')

    if DJANGOENV == 'develop': # Used for local development
        from devilry_developer.settings.develop import *
    elif DJANGOENV == 'test': # Used when running the Django tests
        from devilry_developer.settings.test import *
    else:
        raise ValueError('Invalid value for the DJANGOENV environment variable: {}'.format(DJANGOENV))

    from django.core.management import execute_from_command_line

    execute_from_command_line(sys.argv)<commit_msg>manage.py: Set DJANGO_SETTINGS_MODULE.<commit_after>#!/usr/bin/env python
import os
import sys

if __name__ == "__main__":

    DJANGOENV = os.environ.get('DJANGOENV', 'develop')

    if DJANGOENV == 'develop': # Used for local development
        settings = 'devilry_developer.settings.develop'
    elif DJANGOENV == 'test': # Used when running the Django tests
        settings = 'devilry_developer.settings.test'
    else:
        raise ValueError('Invalid value for the DJANGOENV environment variable: {}'.format(DJANGOENV))

    os.environ['DJANGO_SETTINGS_MODULE'] = settings
    from django.core.management import execute_from_command_line
    execute_from_command_line(sys.argv)
{'fraction_non_alphanumeric': 0.09784283513097072, 'fraction_numerical': 0.0, 'mean_word_length': 4.1141732283464565, 'pattern_counts': {'":': 2, '<': 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': '1582340', 'n_tokens_mistral': 401, 'n_tokens_neox': 387, 'n_words': 99}