← Back to team overview

launchpad-dev team mailing list archive

Re: RFC: format lists one-per line ?

 

On 2 August 2010 15:06, Robert Collins <robert.collins@xxxxxxxxxxxxx> wrote:
> Have a look at https://code.edge.launchpad.net/~wgrant/launchpad/per-archive-build-debug-symbols/+merge/29671
>
> Look at the reflowed lists - pretty hard to tell whats going on.
>
> In bzr, we format lists like that as follows:
>
> foo = [
>    'bar',
>    'gam',
>    'quux',
>    ]
>
> This makes the diff /really easy/ to read.

fwiw I much prefer the bzr one-per-line style.  It does make the file
a bit longer but there are folding editors...

-- 
Martin



References