eric6/ThirdParty/EditorConfig/editorconfig/__init__.py

Tue, 20 Aug 2019 17:07:44 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 20 Aug 2019 17:07:44 +0200
branch
micropython
changeset 7144
de779a22396a
parent 6996
7d5a103bdb76
child 7981
89e8d8d8a9b5
permissions
-rw-r--r--

Revision <7140> closed.

"""EditorConfig Python Core"""

from editorconfig.versiontools import join_version

VERSION = (0, 12, 2, "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()


from editorconfig.handler import EditorConfigHandler
from editorconfig.exceptions import *

eric ide

mercurial