I would like to use pylint to check my code but I am only interested in error and warning levels. Is there a way to do that in command line or in pylintrc?
I am not interested in filtering given issues (like listing all messages in MESSAGE CONTROL), I just want pylint to ignore all convention and refactor messages.
Note: I don't think that's a duplicate of Using Pylint to display error and warnings
My settings is Python2.7.6 32 bit & pylint 1.6.4
Use the
-d
/--disable
option to turn off the "C" and "R" message classes (convention and refactor):Without the
disable
option (6 convention, 1 refactor, 2 warning, 1 error):After using the
disable
option (0 convention, 0 refactor, 2 warning, 1 error):To set this option in
pylintrc
: