Menu

#340 Offer usage of PyChecker like PyLint

open
nobody
None
6
2010-05-24
2009-02-18
Pander
No

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.

Discussion

  • Pander

    Pander - 2009-02-19

    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.

     
  • Pander

    Pander - 2010-03-03

    Small correction, please also look at supporting pyflakes:
    http://divmod.org/trac/wiki/DivmodPyflakes

     
  • Pander

    Pander - 2010-05-24
    • priority: 5 --> 6
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.