Closed moylop260 closed 1 year ago
@moylop260 I implemented your requested changes and created a PR accordingly. However I don't understand the last part about a dummy MR. I tested the changes locally and they do work, do you want me to implement a Github Action on a repository and run pre-commit with my changes to verify checks are disabled?
Each vauxoo project can decide to disable a few checks
It could be interesting to be able to use an environment variable to disable them
Very similar to the feature to exclude modules or files:
But this time to disable a enabled check from:
Or
I'm not sure what is the better option if parsing the configuration file to disable the check or modifying the pylint command of the pre-commit to
disable=checks
The name of the variable could be
PYLINT_DISABLE_CHECKS=check-name1,check-name2
Consider create a dummy MR using a real project