pylint #3259 "pylint --disable-all --enable-msg=XYZ file.py" doesn't work as expected [resolved]
in this case, only the XYZ message should be enabled but that doesnt' work | |
priority | normal |
---|---|
type | bug |
done in | 0.21.4 |
load | 0.250 |
load left | 0.000 |
closed by | <not specified> |
similar entities
Comments
-
2007/06/08 12:00
-
2007/06/08 13:53
-
2009/01/28 11:12, written by sthenault
add commenthas this been solved by removing --disable-all?
I am not able to obtain the required behaviour:
Using inline hints always result in all file being ignored, I cannot use --disable-all on the command line, and disable-all inline primes over --enable-msg.
I'm reopening this bug.
disable-all has been designed to be a local option (eg given inside module code) to ignore a full module in a project, which explain the current behaviour. That should be fixed though by having a smarter implementation (actually disabling all messages, not using a simple flag).