Skip to content

Instantly share code, notes, and snippets.

@laiso
Created August 26, 2009 03:42
Show Gist options
  • Save laiso/175279 to your computer and use it in GitHub Desktop.
Save laiso/175279 to your computer and use it in GitHub Desktop.
~/.vim/after/ftplugin/python.vim
function PyLint()
let rslt = system('pychecker --keepgoing '.bufname(''))
if strlen(matchstr(rslt, 'Error:'))
echo rslt
endif
endfunction
au BufWritePost *.py :call PyLint()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment