add flake8 support

This commit is contained in:
Thomas Lindner 2015-10-30 14:55:53 +01:00
parent 7db96b7027
commit a01d96524f
3 changed files with 6 additions and 0 deletions

3
.gitmodules vendored
View file

@ -10,3 +10,6 @@
[submodule "bundle/vim-fish"] [submodule "bundle/vim-fish"]
path = bundle/vim-fish path = bundle/vim-fish
url = https://github.com/dag/vim-fish url = https://github.com/dag/vim-fish
[submodule "bundle/vim-flake8"]
path = bundle/vim-flake8
url = https://github.com/nvie/vim-flake8

1
bundle/vim-flake8 Submodule

@ -0,0 +1 @@
Subproject commit 21bc78d9a3a17653dd5ea1f6a6c92445d23b215b

2
vimrc
View file

@ -3,3 +3,5 @@ set shell=/bin/sh
runtime bundle/vim-pathogen/autoload/pathogen.vim runtime bundle/vim-pathogen/autoload/pathogen.vim
execute pathogen#infect() execute pathogen#infect()
autocmd BufWritePost *.py call Flake8()