Skip to content

Commit

Permalink
noqa
Browse files Browse the repository at this point in the history
  • Loading branch information
kit1980 committed Mar 18, 2024
1 parent dea9aa3 commit 051515d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchfix/visitors/nonpublic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def visit_ImportFrom(self, node: cst.ImportFrom) -> None:
# Replace only if the import statement has no other names
if len(node.names) == 1:
replacement = cst.ImportFrom(
module=cst.parse_expression(new_module), # type: ignore[arg-type]
module=cst.parse_expression(new_module), # type: ignore[arg-type] # noqa: E501
names=[cst.ImportAlias(name=cst.Name(new_name))],
)
else:
Expand Down

0 comments on commit 051515d

Please sign in to comment.