Skip to content
Switch branches/tags
Go to file
This branch is 13 commits behind kevinw:master.

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


A Vim plugin for checking Python code on the fly.

PyFlakes catches common Python errors like mistyping a variable name or accessing a local before it is bound, and also gives warnings for things like unused imports.

pyflakes-vim uses the output from PyFlakes to highlight errors in your code. To locate errors quickly, use quickfix commands like :cc.

Make sure to check for the latest updates.


pyflakes-vim is officially deprecated!

The must-have features of pyflakes-vim have been merged into Syntastic, which has a plugin-based syntax checking backend. This means you can check many different languages on the fly. I recommend using Syntastic unless you're mostly just editing Python.

Quick Installation

  1. Make sure your .vimrc has:

    filetype on            " enables filetype detection
    filetype plugin on     " enables filetype specific plugins
  2. Download the latest release.

  3. If you're using pathogen, unzip the contents of into its own bundle directory, i.e. into ~/.vim/bundle/pyflakes-vim/.

    Otherwise unzip pyflakes.vim and the pyflakes directory into ~/.vim/ftplugin/python (or somewhere similar on your runtime path that will be sourced for Python files).

Running from source

If you're running pyflakes-vim "from source," you'll need the PyFlakes library on your PYTHONPATH somewhere. (It is included in the zipfile.) I recommend getting the PyFlakes fork, which retains column number information, giving more specific error locations.


git clone --recursive git://

or use the PyFlakes submodule:

git clone git://
cd pyflakes-vim
git submodule init
git submodule update


Set this option in your vimrc file to disable quickfix support:

let g:pyflakes_use_quickfix = 0

The value is set to 1 by default.


  • signs support (show warning and error icons to left of the buffer area)
  • configuration variables
  • parse or intercept useful output from the warnings module


Please see for a history of all changes.


on the fly Python checking in Vim with PyFlakes



No releases published


No packages published