Skip to content

Commit

Permalink
Run black format
Browse files Browse the repository at this point in the history
  • Loading branch information
hit9 committed May 24, 2023
1 parent ff1ab65 commit db66658
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion compiler/bitproto/linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ def lint(self, proto: Proto) -> int:
"""
warning_count: int = 0
for definition_type in SUPPORTED_TYPES:

items: List[Tuple[str, Definition]]
if definition_type is Proto: # proto is not a member of itself.
items = [(proto.name, proto)]
Expand Down
1 change: 0 additions & 1 deletion compiler/bitproto/renderer/formatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@

@unique
class CaseStyle(Enum_):

KEEP = 0
SNAKE = 1
UPPER = 2
Expand Down
1 change: 0 additions & 1 deletion compiler/bitproto/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ def __delattr__(self, name):
setattr(class_, "__delattr__", __delattr__)

if post_init:

init_func = getattr(class_, "__init__")

def decorate_init(func):
Expand Down

0 comments on commit db66658

Please sign in to comment.