Offer usage of PyChecker like PyLint
Brought to you by:
fabioz
Offer usage of PyChecker like PyLint
http://pychecker.sourceforge.net/ or apt-get install pychecker
Run something like
pychecker --changetypes -L80 -8 -g -v -9 -t --limit 1000 *.py
and compare the results with PyLint.
I don't think the results of both should be mixed, however being able to run one or the other would be desirable since both report on other things. PyChecker is especially good in reporting on complexity violations.
PyFlakes is however not interesting to connect too while it is too minimal in its options, inspection and reporting.
Implementing functionality to ise PyChecker will make PyDev even more versatily and *the* helpful Eclipse plugin for developing sound Python code.
A compbination of both PyLint and PyChecker could be interesting. Having PyLint do all the standard work, which is the bulk, and PyChecker only report on:
- members not being used
- parameter not used
- local variable not used
- code appears to be unreachable
- no global found
This would need a default configuration for PyChecker disabling all the checks that are done by PyLint and only leaving these to report.
Implementing it in this way will enable checking if codeis reachable and declarations are used, in a way the PyLint is not able to do.
Small correction, please also look at supporting pyflakes:
http://divmod.org/trac/wiki/DivmodPyflakes
In order of importance, please support the following code style checking software:
http://pypi.python.org/pypi/pep8
http://pypi.python.org/pypi/pyflakes
http://pypi.python.org/pypi/pylint
http://pypi.python.org/pypi/PyChecker (currently not support Python 2.6)