← Back to team overview

launchpad-dev team mailing list archive

Re: RFC: format lists one-per line ?

 

On Mon, 02 Aug 2010 17:06:40 Robert Collins 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.
> 
> Any objections to this change?

Funnily enough, there were many objections to this change when the code team 
proposed it quite some time ago as a coding standard.

Tim



Follow ups

References