PyflakesΒΆ
A lot of people have said good words about pyflakes . It is a python code checker, like pylint, pychecker, etcetera. I checked out quite a number of them and wasn't happy for one reason or another. Pyflakes makes me happy.
It catches a lot of common errors that I make. A missing : at the end of a for x in y:, spelling errors, a missing import after some copy/paste, unneeded imports.
The key for me is to integrate it into emacs. I've customized my python mode's setting for Pychecker Command to pyflakes, so that checking my python file is only a quick ctrl-c ctrl-w away.
Tags: emacs