[code-quality] Pylint: Disable specific warnings for modules in a specific folder
Edward Ekelund
edward.ekelund at axis.com
Wed Mar 23 13:09:51 EDT 2016
Hi,
I would like to disable a set of warnings for modules in a specific
folder. Is this possible somehow?
If not, can this feature be added?
More specifically, we have a folder in our project which contains many
function/unit test modules. Some Pylint-warnings, e.g., `invalid-name`
and `protected-access` are not helpful in that context, and we would
like to be able to disable those checks for all modules in that directory.
Also, we would like to avoid adding #-disable boilerplate inside every
single file; preferably we would like to add the folder-specific
disables in the project's pylintrc-file.
Here's my question on Stack Overflow for more context:
http://stackoverflow.com/q/36182847/955014
--
Regards,
Edward
More information about the code-quality
mailing list