Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Nov 20, 2024
1 parent 425e5f1 commit 43f3393
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 1 addition & 6 deletions vyper/ast/parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,7 @@ def annotate_python_ast(
The annotated and optimized AST.
"""
visitor = AnnotatingVisitor(
vyper_source,
pre_parser,
source_id,
module_path=module_path,
resolved_path=resolved_path,
vyper_source, pre_parser, source_id, module_path=module_path, resolved_path=resolved_path
)
visitor.visit(parsed_ast)

Expand Down Expand Up @@ -246,7 +242,6 @@ def _visit_docstring(self, node):

return node


def visit_Module(self, node):
# TODO: is this the best place for these? maybe they can be on
# CompilerData instead.
Expand Down
1 change: 0 additions & 1 deletion vyper/ast/pre_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ def _parse(self, code: str):
for_parser = ForParser(code)
hex_string_parser = HexStringParser()


_col_adjustments: dict[int, int] = defaultdict(lambda: 0)

code_bytes = code.encode("utf-8")
Expand Down

0 comments on commit 43f3393

Please sign in to comment.