I'm linting a piece of code containing a class which inherits from a base
class which is not available at lint time. Consequently, I get all sorts of
messages about unknown attributes which the subclass uses from its parent.
Short of completely disabling E1101 (no-member), is there a way to say,
"class B, a subclass of class A which you can't see, really does have an
attribute named x"? The code for class A is not going to be available, as
I'm just running pylint in isolation from the rest of the environment in
which it is run.

Thx,

Skip Montanaro
_______________________________________________
code-quality mailing list
code-quality@python.org
https://mail.python.org/mailman/listinfo/code-quality

Reply via email to