
from versiontools import join_version

VERSION = (0, 9, 0, "alpha")

__all__ = ['handler', 'exceptions', 'main']

__version__ = join_version(VERSION)


from versiontools import join_version

VERSION = (0, 9, 0, "alpha")

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

__version__ = join_version(VERSION)


def get_properties(filename):
    handler = EditorConfigHandler(filename)
    return handler.get_configurations()


from handler import EditorConfigHandler
from exceptions import *

Add get_properties class for simpler plugin usage
Add get_properties class for simpler plugin usage

  
  from versiontools import join_version
  
  VERSION = (0, 9, 0, "alpha")
  
- __all__ = ['handler', 'exceptions', 'main']
+ __all__ = ['get_properties', 'EditorConfigError', 'handler', 'exceptions']
  
  __version__ = join_version(VERSION)
  
+ 
+ def get_properties(filename):
+     handler = EditorConfigHandler(filename)
+     return handler.get_configurations()
+ 
+ 
+ from handler import EditorConfigHandler
+ from exceptions import *
+ 
Add get_properties class for simpler plugin usage
## Code Before:

from versiontools import join_version

VERSION = (0, 9, 0, "alpha")

__all__ = ['handler', 'exceptions', 'main']

__version__ = join_version(VERSION)

## Instruction:
Add get_properties class for simpler plugin usage
## Code After:

from versiontools import join_version

VERSION = (0, 9, 0, "alpha")

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

__version__ = join_version(VERSION)


def get_properties(filename):
    handler = EditorConfigHandler(filename)
    return handler.get_configurations()


from handler import EditorConfigHandler
from exceptions import *
