2007-11-06 18:02:33 -08:00
|
|
|
Contributing
|
|
|
|
======================
|
|
|
|
|
|
|
|
Coding Style
|
|
|
|
------------
|
|
|
|
|
|
|
|
1. All code should be indented with spaces. This is effectively the following VIM modeline:
|
|
|
|
/* vim: set ai ts=4 sw=4 et: */
|
|
|
|
|
|
|
|
2. Recommend removing trailing whitespace. Here is an example for .vimrc
|
|
|
|
autocmd BufWritePre *.py normal m`:%s/\s\+$//e ``
|
|
|
|
|
2008-10-10 15:38:08 -07:00
|
|
|
3. Wrap lines at 80 characters MAXIMUM
|
2007-11-06 18:02:33 -08:00
|
|
|
|
|
|
|
|
|
|
|
vim: set ai ts=4 sw=4 et:
|