pylint #46137 disable-report options do not work anymore [resolved]
In previous pylint version it was possible to disable unecessary reports by IDs either in command line or in rcfile with the disable-report option. for example : pylint --disable-report=R0701 mymodule witch disable the raw metrics report but display the other reports Apparently this option have been removed and replaced by the main disable option. But this disable option did not recognise the reports IDs like : R0701,R0101,R0401,R0001,R0003 and made pylint to die with this exception : pylint.utils.UnknownMessage: No such message id R0701 Alternaly this documentation is no more up to date --> http://www.logilab.org/card/pylintfeatures As it include old removed options like disable-msg or disable-report. It will be usefull to either give back the disable-report option or to add the report IDs to the main disable option (but be carreful with R0801 ID as it serve for a message and a report) | |
priority | normal |
---|---|
type | bug |
done in | 0.21.4 |
load | 0.300 |
load left | 0.000 |
closed by | <not specified> |
Comments
-
2010/09/23 14:50, written by sthenault
-
2010/09/23 15:15, written by miniwark
-
2010/09/23 15:51, written by sthenault
add commentdocumentation should clearly be updated.
Now, it doesn't work because in the process report ids have also been renamed
to avoid conflicts with message in the Refactoring category, so their suffix
is now RP instead of R.
Yes i just see that with the --full-documentation option, it's the case for all reports except R0801 witch have the same number than duplication messages.
Anyway you can probably close the bug, as is now mainly an online documentation problem.
I'll keep it until the online doc is up-to-date