mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
Python SignatureOverriddenMethod: Rmv duplicate condition
This commit is contained in:
committed by
GitHub
parent
b2e4276bc8
commit
2871bdb206
@@ -24,7 +24,6 @@ where
|
||||
not derived.getScope().isSpecialMethod() and
|
||||
derived.getName() != "__init__" and
|
||||
derived.isNormalMethod() and
|
||||
not derived.getScope().isSpecialMethod() and
|
||||
// call to overrides distributed for efficiency
|
||||
(
|
||||
derived.overrides(base) and derived.minParameters() > base.maxParameters()
|
||||
|
||||
Reference in New Issue
Block a user