Is there a tool to help find bugs or perform static analysis?

Definitely.

PyChecker is a static analysis tool that finds bugs in Python source code and warns about code complexity and style. You can get PyChecker from http://pychecker.sf.net.

PyLint is another tool that checks if a module satisfies a coding standard, and also makes it possible to write plug-ins to add custom features. In addition to the bug checking that PyChecker performs, PyLint offers some additional features such as checking line length, whether variable names are well-formed according to your coding standard, whether declared interfaces are fully implemented, and more.

CATEGORY: programming

 

Comment:

I think that things like Cheesecake (http://pycheesecake.org/) and coverage.py (http://www.nedbatchelder.com/code/modules/coverage.html) might deserve a mention.

Posted by Steven Kryskalla (2006-11-04)

Comment:

There is also PyFlakes (http://www.divmod.org/projects/pyflakes).

Posted by Marius Gedminas (2006-11-12)

A Django site. this page was rendered by a django application in 0.02s 2008-08-28 02:10:44.129397. hosted by webfaction.