Projects / PyChecker

PyChecker

PyChecker is a tool for finding common bugs in Python source code. It finds problems that are typically caught by a compiler (or lint) for less dynamic languages, like C and C++. Common errors that can be found include forgetting to import a module, misspelling a variable, passing the wrong number of parameters to a function/method, and not using a module/variable.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  06 Feb 2011 13:04

    Release Notes: Support for Python 2.7 was added. In the new pcmodules.py module, the modulePath code no longer causes an import error. pychecker now allows lambda with setattr and const. pychecker -q on 64-bit no longer ignores the platform-specific stdlib. The order of checking files no longer affects the errors reported. PyChecker was only checking one of each set of modules with the same name, so it will now catch many warnings it was missing before.

    •  04 Feb 2006 07:47

      Release Notes: This release added new options to limit the number of warnings shown, only show warnings from files on the command line, display warnings by class (warning type), disable C extensions that crash, and add support for ROT_ opcodes. Spurious warnings from bit operations, int(x/y), wrong filenames, and setup/install problems were fixed.

      •  01 Sep 2005 05:33

        Release Notes: Many bugfixes were made and support for Python 2.4 and above was added.

        •  06 Jun 2004 19:42

          Release Notes: Many spurious warnings were fixed. Python 2.2+ features are supported better. One warning was added.

          •  19 Nov 2003 05:59

            Release Notes: This release fixes several bugs, including suppressing warnings about self not being the first argument of static and class methods. It adds new warnings for shadowing builtins, performing idempotent operations like assigning a variable to itself, passing a constant string to getattr/ setattr, check for correct __special__ method signatures, and other checks.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.