Pyflakes errors in your Vim quickfix window
To use Pyflakes as your “compiler” for Python files in Vim put this into ~/.vim/compilers/pyflakes.vim 1:
CompilerSet errorformat=%f:%l:\ %m
CompilerSet makeprg=pyflakes
Then you can do :compiler pyflakes to set the compiler (although you might want to do that in an ftplugin) and :make % to run the current file through Pyflakes and put any errors into your Vim quickfix window.
-
This assumes that “pyflakes” is an executable in your path that runs Pyflakes, adjust makeprg accordingly. ↩