<commit_before>import toml
import yaml


class Configuration(dict):
    def __init__(self, **kwargs):
        super().__init__(kwargs)
        for required_arg in ["custom_order", "explicit_checks", "exclude_checks"]:
            if required_arg not in self:
                self[required_arg] = None

    @classmethod
    def from_config_file(cls, filename):
        try:
            config = toml.load(filename)
        except toml.TomlDecodeError:<commit_msg>Default "full_lists" to None on the Configuration class<commit_after>import toml
import yaml


class Configuration(dict):
    def __init__(self, **kwargs):
        super().__init__(kwargs)
        for required_arg in ["custom_order",
                             "explicit_checks",
                             "exclude_checks",
                             "full_lists"]:
            if required_arg not in self:
                self[required_arg] = None

    @classmethod
    def from_config_file(cls, filename):
        try:
            config = toml.load(filename)
        except toml.TomlDecodeError:
{'fraction_non_alphanumeric': 0.08716026241799438, 'fraction_numerical': 0.0, 'mean_word_length': 2.1228070175438596, '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': '4645204', 'n_tokens_mistral': 298, 'n_tokens_neox': 283, 'n_words': 71}