<commit_before>"""EditorConfig Python Core"""

from editorconfig.versiontools import join_version

VERSION = (0, 11, 0, "final")

__all__ = ['get_properties', 'EditorConfigError', 'exceptions']

__version__ = join_version(VERSION)


def get_properties(filename):
    """Locate and parse EditorConfig files for the given filename"""
    handler = EditorConfigHandler(filename)
    return handler.get_configurations()
<commit_msg>Bump version to 0.12.0-development<commit_after>"""EditorConfig Python Core"""

from editorconfig.versiontools import join_version

VERSION = (0, 12, 0, "development")

__all__ = ['get_properties', 'EditorConfigError', 'exceptions']

__version__ = join_version(VERSION)


def get_properties(filename):
    """Locate and parse EditorConfig files for the given filename"""
    handler = EditorConfigHandler(filename)
    return handler.get_configurations()

{'fraction_non_alphanumeric': 0.10985277463193659, 'fraction_numerical': 0.013590033975084938, 'mean_word_length': 6.305785123966942, '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': '3185593', 'n_tokens_mistral': 257, 'n_tokens_neox': 244, 'n_words': 69}