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
My name is Reinout van Rees and I work a lot with Python (programming language) and Django (website framework). I live in The Netherlands and I'm happily married to Annie van Rees-Kooiman.
Most of my website content is in my weblog. You can keep up to date by subscribing to the automatic feeds (for instance with Google reader):