Skip to content

Commit e165e3a

Browse files
SatoshiMatsuzakiSatoshiMatsuzaki
authored andcommitted
add formatter
1 parent 1fff976 commit e165e3a

File tree

17 files changed

+664
-592
lines changed

17 files changed

+664
-592
lines changed

src/__init__.py

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,5 @@
1-
__version__ = '0.1.2'
2-
3-
4-
'''
5-
def parse(stmt):
6-
"""
7-
8-
:param stmt:
9-
:return:
10-
"""
11-
12-
return api.parse(stmt)
1+
from . import parser
2+
from . import checker
3+
from . import formatter
134

14-
15-
def check(stmt):
16-
"""
17-
18-
:param stmt:
19-
:return:
20-
"""
21-
22-
return api.check(stmt)
23-
'''
5+
__version__ = '0.1.2'

src/checker/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
from .base import check
2+
from .violation import Violation
3+
4+
__all__ = [
5+
'check',
6+
'Violation'
7+
]

0 commit comments

Comments
 (0)