]> git.donarmstrong.com Git - lilypond.git/commitdiff
CG: add final GOP-POPR 1: python formatting
authorGraham Percival <graham@percival-music.ca>
Thu, 23 Jun 2011 22:42:58 +0000 (23:42 +0100)
committerGraham Percival <graham@percival-music.ca>
Thu, 23 Jun 2011 22:42:58 +0000 (23:42 +0100)
Documentation/contributor/administration.itexi

index aef67b3beaa6b2dbe202f6d2e0d529d8500298c0..f6cf38194ca1a13dc2190b0c9f3244b1f8ff3e67 100644 (file)
@@ -163,6 +163,7 @@ difficult tasks.
 * Motivation::
 * Ongoing jobs::
 * Policy decisions::
+* Policy decisions (finished)::
 @end menu
 
 @node Motivation
@@ -506,6 +507,34 @@ amount of current material in either form, are important.
 
 @end itemize
 
+@node Policy decisions (finished)
+@subsection Policy decisions (finished)
+
+@subheading GOP-PROP 1: python formatting
+
+We will follow the indentation described in PEP-8.
+@uref{http://www.python.org/dev/peps/pep-0008/}
+
+@itemize
+@item
+use 4 spaces per indentation level
+
+@item
+never mix tabs and spaces (for indentation)
+
+@item
+Code indented with a mixture of tabs and spaces should be
+converted to using spaces exclusively
+
+Once this is done, we should add @code{python -tt} to the build
+system to avoid such errors in the future.
+
+@end itemize
+
+There should be absolutely no tab characters for indentation in
+any @code{.py} file in lilypond git.  All such files should be
+converted to use spaces only.
+
 
 
 @node Grand LilyPond Input Syntax Standardization (GLISS)