Pylint
Python Pylint/Pydev Code Checking in Eclipse
Pylint is a good python code checking tool. Pydev is a good plugin for Eclipse for editing and running python programs. Much of this info is taken from Ryan Fraser's page . Wolfgang has an alternative description for installing pylint in the Komodo python IDE here
Debugging Python scripts with Pylint
I am currently using Pylint to check for bugs and formatting errors in my Python scripts. I used Brandon Corfman's nice Komodo Hacks: Integrating Pylint tutorial to set up Pylint and how to integrate it with the Komodo Edit IDE (see Easy setup of a Python 2.6 development environment on Windows about setting up Python).
Here is my updated Pylint execution macro for Komodo Edit 5 which includes a verbose and an errors only reporting command.