Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Carreau committed Jul 22, 2024
1 parent a9eed84 commit 3f912f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/pyflyby/_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ def from_text(cls, text, filename=None, startpos=None, flags=None,
def __construct_from_annotated_ast(cls, annotated_ast_nodes, text:FileText, flags):
# Constructor for internal use by _split_by_statement() or
# concatenate().
ast_node = AnnotatedModule(annotated_ast_nodes)
ast_node = AnnotatedModule(annotated_ast_nodes, type_ignores=[])
ast_node.text = text
ast_node.flags = flags
if not hasattr(ast_node, "source_flags"):
Expand Down

0 comments on commit 3f912f9

Please sign in to comment.