|
pylint #36584 Handle "disable" before handling "enable" on reading rc files [open]Since version 0.21 it appears to be difficult to set up an rc file to just show specified warning numbers. I can do as in the example below but this does not work, as it appears the enabling is processed before the disabling and hence all warnings are disabled.
[MESSAGES CONTROL]
# Disable the message, report, category or checker with the given id(s). You
# can either give multiple identifier separated by comma (,) or put this option
# multiple time.
disable=I,R,C,W
# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
# multiple time.
enable=W0611,W0404
| | priority | normal |
|---|
| type | bug |
|---|
| appeared in | <not specified> |
|---|
| done in | <not specified> |
|---|
| load | 0.500 |
|---|
| load left | 0.500 |
|---|
| closed by | <not specified> |
|---|
|
Comments
this is probably because order should be properly considered when reading/generating rc file.
Also, this order dependant thing (on command line and rc file) should be documented.