lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GOP-PROP 1: python formatting


From: Werner LEMBERG
Subject: Re: GOP-PROP 1: python formatting
Date: Mon, 06 Jun 2011 06:10:30 +0200 (CEST)

> Proposal: let’s follow PEP-8.
> http://www.python.org/dev/peps/pep-0008/
> 
>     * use 4 spaces per indentation level

I prefer 2 spaces (this allows for longer lines while staying in the
80 char line length limit), but since all python code already uses 4
spaces, this is OK with me.

Just curious: Is there any python code in lilypond which doesn't
intentionally follow this rule?

>     * never max tabs and spaces
>     * Code indented with a mixture of tabs and spaces should be
>       converted to using spaces exclusively 

Both +1.


    Werner

reply via email to

[Prev in Thread] Current Thread [Next in Thread]