We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 978924d commit 161f8cfCopy full SHA for 161f8cf
codeflash/code_utils/deduplicate_code.py
@@ -70,7 +70,7 @@ def visit_Global(self, node): # noqa : ANN001, ANN201
70
self.global_vars.update(node.names)
71
return node
72
73
- def visit_Nonlocal(self, node):
+ def visit_Nonlocal(self, node): # noqa : ANN001, ANN201
74
"""Track nonlocal variable declarations."""
75
# Using set.update for batch insertion (faster than add-in-loop)
76
self.nonlocal_vars.update(node.names)
0 commit comments