Running flake8 in Emacs
Some time ago I've discovered python-pylint.el, a minor mode for Emacs
to run pylint in compilation mode. Running pylint in compilation mode
is really nice since you can jump between errors with the usual Emacs
keyboard shortcuts M-g n / M-g p.
But when focussing more on style then I want to run flake8
instead. Here's a thin wrapper (gist.github.com) around python-pylint
that runs flake8 in compilation mode and parses the output. Nothing
special, just the right commands and a regex to parse the output - but
helpful :)