Skip to content
lepture edited this page Jun 18, 2012 · 1 revision

Flake8

代码要通过 flake8 验证通过。

安装 flake8:

$ sudo pip install flake8

如果使用 vim 的话,使用 vim-syntastic 会自动调用 flake8:

Bundle "scrooloose/syntastic"

另外,使用 vim 的话,推荐用我在用的这个缩进:

https://github.com/lepture/dotfiles/blob/master/vim/indent/python.vim

其它

可参考 Code Style

Clone this wiki locally