Pydev code analysis and pylint collision helper
Brought to you by:
fabioz
I like Pydev's code analysis, and for the features that PyDev already analyzes it seems useless to analyze using pylint.
I propose that under "Click for help (ignoring errors and troubleshooting)" there could be a little helper that lists the --disable-msg for pylint on features that Pydev code analysis handles already. One could then copy-paste that to the arguments box in PyDev preference UI.
I keep re-inventing this list of ignores on each project, and now I'm doing it like hundredth time, pretty sick of it already. I'll try to post my list of ignores here as I re-invent it again...
PyDev already can Code Aanalyze following pylint messages:
E1101 -- undefined variable
E1102 -- not callable
F0401 -- unable to import
W0611 -- unused import
W0612 -- unused variable
W0613 -- unused argument
W0511 -- TODO's (Eclipse lists these in dialog)
You may ignore them using following argument:
--disable-msg=E1101,E1102,F0401,W0611,W0612,W0613,W0511
Some other rather annoying pylint messages (these are not handled by pydev code analysis though):
W0105 -- String statement has no effect (Docstrings)
W0614 -- unused in wildimport
R0902 -- Too many instance attributes
R0903 -- Too few public methods
--disable-msg=W0105,W0614,R0902,R0903
Here is version 2:
PyDev already can code analyze following pylint messages:
E1101 -- undefined variable
E1102 -- not callable
F0401 -- unable to import
W0611 -- unused import
W0612 -- unused variable
W0613 -- unused argument
W0614 -- unused in wildimport
W0511 -- TODO's (Eclipse lists these, so no need to pylint list them again)
--disable-msg=E1101,E1102,F0401,W0611,W0612,W0613,W0614,W0511
Some other rather annoying pylint messages (these are not handled by pydev code analysis though):
W0105 -- String statement has no effect (Docstrings)
W0401 -- Wildcard import
R0902 -- Too many instance attributes
R0903 -- Too few public methods
--disable-msg=W0105,W0401,R0902,R0903