pylint #2485 W0222 "Signature differs from overriden method" false positive [resolved]
Maarten ter Huurne: class Super(object): def method(self, param): raise NotImplementedError class Sub(Super): def method(self, param = 'abc'): pass Output: W0222: 6:Sub.method: Signature differs from overriden method Since "Sub.method" can be called with 1 parameter just like its abstract declaration, I think the code above is correct, so the warning should not be issued. | |
priority | normal |
---|---|
type | bug |
done in | 0.13.0 |
load | 0.250 |
load left | 0.000 |
closed by | <not specified> |