public
Description: on the fly Python checking in Vim with PyFlakes
Homepage: http://symbolsystem.com/pyflakes-vim
Clone URL: git://github.com/kevinw/pyflakes-vim.git
Click here to lend your support to: pyflakes-vim and make a donation at www.pledgie.com !
kevinw (author)
Wed May 06 09:41:20 -0700 2009
commit  18bb52e3b126762f221a87101639ba5af91f141c
tree    bc8ae7ddc0fde9d6a4b033b0a0e135d58f66dccc
parent  6ec1fbbce32876e315b370409ca55c97d232d125
name age message
file .gitignore Fri Nov 14 17:07:43 -0800 2008 Ignore the pyflakes directory, a separate repo [kevinw]
file README.rst Loading commit data...
file makerelease.py
file pyflakes.vim
README.rst

pyflakes-vim

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 the spots in your code where

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. Unzip pyflakes.vim and the pyflakes directory into ~/.vim/after/ftplugin/python (or somewhere similar on your runtime path that will be sourced for Python files).

Installation

  1. I recommend getting my PyFlakes fork, which uses the _ast module new to Python 2.5, and is faster and more current than PyFlakes' old usage of the deprecated compiler module.

Hacking

git clone git://github.com/kevinw/pyflakes-vim.git
cd pyflakes-vim
git clone git://github.com/kevinw/pyflakes.git

TODO

  • signs support (show warning and error icons to left of the buffer area)
  • configuration variables

Changelog

  • 0.1 - First release