Skip to content

Commit b138826

Browse files
committed
Fix list comprehension
Signed-off-by: Mike Fiedler <[email protected]>
1 parent 2b7d4ff commit b138826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylint/checkers/design_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ def leave_classdef(self, node: nodes.ClassDef) -> None:
490490
for ancestor in node.ancestors():
491491
if any(
492492
pattern.match(ancestor.qname())
493-
in self._exclude_too_few_public_methods
493+
for pattern in self._exclude_too_few_public_methods
494494
):
495495
return
496496

0 commit comments

Comments
 (0)