see http://stackoverflow.com/questions/11543992/pylint-disabling-r0921-does-not-work-still-warning | |
| priority | normal |
|---|---|
| type | bug |
| appeared in | <not specified> |
| done in | <not specified> |
| closed by | <not specified> |
| Logilab.org | anonymous [register] [login]
|
pylint #111138 disabling R0921 does'nt work [open]
|
|||||||||||||
Comments
It is not reproducible for me with the following code (I tried to use steps from stackoverflow)
import abc class AbsClass(object): __metaclass__ = abc.ABCMeta @abc.abstractmethod def abs_func(self): """abstract function""" # pylint: disable=R0921 class FooClass(AbsClass): def foo_func(self): raise NotImplementedError def bar_func(self): raise NotImplementedError def bar_func(self): raise NotImplementedErrorI have this same issue on a project I am working on and found that the file will pass if run individually but will fail if I run pylint over the containing directory. Not sure if that helps but this bug is super annoying
I have the same issue. I have found the only way to disable this error message it to add it to an rcfile, and refer to it using the --rcfile command line parameter