Search code examples
pythonpylint

Pylint ignore specific names


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.


Solution

  • What you are asking for is not supported in the current version of Pylint.

    You may want to get in touch with the maintainers and propose them a feature request and an implementation.