[ << Administrative policies ] | [Top][Contents][Index][ ? ] | [ LilyPond grammar >> ] | ||
[ < Policy decisions (finished) ] | [ Up : Policy decisions (finished) ] | [ GOP-PROP 2 - mentors and frogs > ] |
14.6.4.1 GOP-PROP 1 - python formatting
We will follow the indentation described in PEP-8. http://www.python.org/dev/peps/pep-0008/
- use 4 spaces per indentation level
- never mix tabs and spaces (for indentation)
-
Code indented with a mixture of tabs and spaces should be
converted to using spaces exclusively
Once this is done, we should add
python -tt
to the build system to avoid such errors in the future.
There should be absolutely no tab characters for indentation in
any .py
file in lilypond git. All such files should be
converted to use spaces only.
Discussions
[ << Administrative policies ] | [Top][Contents][Index][ ? ] | [ LilyPond grammar >> ] | ||
[ < Policy decisions (finished) ] | [ Up : Policy decisions (finished) ] | [ GOP-PROP 2 - mentors and frogs > ] |