Having multiple enable/disable in pylintrc #3623
Labels
Configuration
Related to configuration
Enhancement ✨
Improvement to a component
Won't fix/not planned
Is your feature request related to a problem? Please describe
Using command-line, it's possible to run something like:
which is interpret by pylint as:
or in other words "only W that are not invalid-name"
and this is a cool feature!
However, the same behavior cannot be achieved using an
rcfile
:configparser.DuplicateOptionError: While reading from 'lint' [line 4]: option 'disable' in section 'MESSAGES CONTROL' already exists
Describe the solution you'd like
Since the rcfile parsing engine does not allowing having multiple times the same key, either switching to another parsing engine or having a new option like:
or
or
Potential inspiration: rdiff-backup's "filelist" options.
The text was updated successfully, but these errors were encountered: