False positive with arguments-differ
rule in overridden overloaded methods in subclass
#10186
Labels
Needs triage 📥
Just created, needs acknowledgment, triage, and proper labelling
Bug description
Pylint reports false positive with the
arguments-differ
rule for abstract overloaded static methods declared in a super class, implemented in overridden overloaded static methods in a subclass. The same warnings are generated even if the overridden methods are not abstract in the super class, or just instance methods instead of static methods.Simple example:
It seems Pylint only takes into account the first declaration of the method in the abstract class, but even like this, it generates irrational messages like the second one in the example above.
There are several other issues about this rule, but I have seen none about this specific case.
Configuration
Command used
Pylint output
Expected behavior
No warning should be generated because the code is correct.
Pylint version
OS / Environment
Win 11 Professional
Additional dependencies
The text was updated successfully, but these errors were encountered: