This page is no longer maintained. For a link to this project's current page, see http://divmod.org/trac/
Pyflakes
Pyflakes is a simple program which checks Python source files for errors. It is similar to PyChecker in scope, but differs in that it does not execute the modules to check them. This is both safer and faster, although it does not perform as many checks. Unlike PyLint, Pyflakes checks only for logical errors in programs; it does not perform any checks on style.
Getting Pyflakes
Download the latest release tarball, 0.2.1, easilly installed with the Python standard distutils.
The latest code is also available from subversion:
svn co http://divmod.org/svn/Divmod/trunk/Pyflakes
The sources on subversion also include an exhaustive battery of tests, including some known false-errors and some tests that would be nice to perform. These tests can be run with 'trial', part of Twisted.
Release history
0.2.1, released 2005-10-07
Fixed issue caused by special treatment of decorators, improved test coverage
0.2.0, released 2005-09-24
Added (backward-compatible) support for Python 2.4 features: generator expressions and decorators.
0.1.8, released 2005-06-15
Corrected handling of nested class scopes. Fixed error message when a module can not be compiled.
0.1.7, released 2005-06-08
Fixes choke-and-die on encountering a unary "+". Perhaps some other small fixes; it's been a long time and the author can't remember what he did.
0.1.6, released 2004-09-20
Fixed treatment of the 'del' statement. Deleting an imported name without ever using it will now emit an error.
0.1.3, released 2004-09-19
First release. Can find unused imports and undefined names.