pylint #9992 -e cannot be overriden by --enable-msg [resolved]

So I have a set of Python files with quite a lot of warnings which will take quite some time to fix. So for now I'd like to have make call pylint to report only errors and the warning W0611.

The obvious way to do so would be:

pylint -e --enable-msg=W0611 ...

But that does not work. In fact it turns our that once a warning has been disabled through -e, --disable-msg-cat or --disable-msg, it cannot be reenabled, no matter what order the options are in. The disable directives always have priority.

So as is --enable-msg is completely useless and it's not possible to enable a specific message.

appeared in<not specified>
done in0.21.0
load left0.000
debian bug number541063
closed by<not specified>