[Top][All Lists]
[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
- GOP-PROP 1: python formatting, Graham Percival, 2011/06/05
- Re: GOP-PROP 1: python formatting, Michael Welsh Duggan, 2011/06/05
- Re: GOP-PROP 1: python formatting,
Werner LEMBERG <=
- Re: GOP-PROP 1: python formatting, Martin Tarenskeen, 2011/06/06
- Re: GOP-PROP 1: python formatting, Ian Hulin, 2011/06/06
- Re: GOP-PROP 1: python formatting, Patrick McCarty, 2011/06/06
- Re: GOP-PROP 1: python formatting, Trevor Daniels, 2011/06/06
- Re: GOP-PROP 1: python formatting, Karl Hammar, 2011/06/06