<commit_before>import logging
import os

import configparser

config = configparser.RawConfigParser()

HERE = os.path.dirname(__file__)

configfiles = [
    '/etc/challenge.cfg'                          # staging/live
    os.path.join(HERE, 'challenge.default.cfg'),  # default config
    os.path.join(HERE, 'challenge.cfg'),          # per-environment config
]

files_read = config.read(configfiles)

logging.debug('config files read: %s' % files_read)<commit_msg>Fix config.py syntax error<commit_after>import logging
import os

import configparser

config = configparser.RawConfigParser()

HERE = os.path.dirname(__file__)

configfiles = [
    '/etc/challenge.cfg',                         # staging/live
    os.path.join(HERE, 'challenge.default.cfg'),  # default config
    os.path.join(HERE, 'challenge.cfg'),          # per-environment config
]

files_read = config.read(configfiles)

logging.debug('config files read: %s' % files_read)
{'fraction_non_alphanumeric': 0.12089077412513255, 'fraction_numerical': 0.0, 'mean_word_length': 3.330275229357798, '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': '4290041', 'n_tokens_mistral': 294, 'n_tokens_neox': 283, 'n_words': 58}