I have a problem with pylint, i.e. sometimes it repeats the same message for some variable/class/module etc. and I can't find a workaround for that. What I want is to say pylint "don't check [message XXX|any message] for variable YYY in [this module|module "ZZZ"]" with some option or rcfile directive.
There's good-names=YYY
for this, or for some advanced stuff you can modify the regex via variable-rgx
.
According to the docs you enable and disable messages using lines like:
# pylint: disable=W0631
in the python code.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With