Skip to content

Commit

Permalink
Merge pull request #1089 from plannigan/mypy_fix-remove_redefinition
Browse files Browse the repository at this point in the history
Remove duplicate definition of PythonIndenter
  • Loading branch information
erezsh authored Jan 24, 2022
2 parents c780b3b + fefe6a1 commit 5662083
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lark/indenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,3 @@ class PythonIndenter(Indenter):
tab_len = 8

###}


class PythonIndenter(Indenter):
NL_type = '_NEWLINE'
OPEN_PAREN_types = ['LPAR', 'LSQB', 'LBRACE']
CLOSE_PAREN_types = ['RPAR', 'RSQB', 'RBRACE']
INDENT_type = '_INDENT'
DEDENT_type = '_DEDENT'
tab_len = 8

0 comments on commit 5662083

Please sign in to comment.