- Notifications
You must be signed in to change notification settings - Fork 2
Python Style Guide
lepture edited this page Jun 18, 2012 · 1 revision
代码要通过 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