5 """ |
5 """ |
6 |
6 |
7 import getopt |
7 import getopt |
8 import sys |
8 import sys |
9 |
9 |
10 from editorconfig import __version__, VERSION |
10 from editorconfig import VERSION, __version__ |
11 from editorconfig.compat import force_unicode |
11 from editorconfig.compat import force_unicode |
|
12 from editorconfig.exceptions import ParsingError, PathError, VersionError |
|
13 from editorconfig.handler import EditorConfigHandler |
12 from editorconfig.versiontools import split_version |
14 from editorconfig.versiontools import split_version |
13 from editorconfig.handler import EditorConfigHandler |
|
14 from editorconfig.exceptions import ParsingError, PathError, VersionError |
|
15 |
15 |
16 |
16 |
17 def version(): |
17 def version(): |
18 print("EditorConfig Python Core Version %s" % __version__) |
18 print("EditorConfig Python Core Version %s" % __version__) |
19 |
19 |