Skip to content

Commit e52906b

Browse files
Tighten up disable
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
1 parent 170cd33 commit e52906b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylint/checkers/variables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2512,7 +2512,7 @@ class D(Tp):
25122512
and name in frame_locals
25132513
)
25142514

2515-
# pylint: disable = too-many-branches, too-many-statements
2515+
# pylint: disable-next=too-many-branches,too-many-statements
25162516
def _loopvar_name(self, node: astroid.Name) -> None:
25172517
# filter variables according to node's scope
25182518
astmts = [s for s in node.lookup(node.name)[1] if hasattr(s, "assign_type")]

0 commit comments

Comments
 (0)