run black on codebase
This commit is contained in:
@ -6,7 +6,14 @@ from lark import Lark
|
||||
grammar_path = Path(__file__).parent
|
||||
grammar = grammar_path / "ziffers.lark"
|
||||
|
||||
ziffers_parser = Lark.open(grammar, rel_to=__file__, start='root', parser='lalr', transformer=ZiffersTransformer())
|
||||
ziffers_parser = Lark.open(
|
||||
grammar,
|
||||
rel_to=__file__,
|
||||
start="root",
|
||||
parser="lalr",
|
||||
transformer=ZiffersTransformer(),
|
||||
)
|
||||
|
||||
|
||||
def parse_expression(expr):
|
||||
return ziffers_parser.parse(expr)
|
||||
return ziffers_parser.parse(expr)
|
||||
|
||||
Reference in New Issue
Block a user