[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Inconsistent indentation in python code across code base

From: Hyrum K Wright <hyrum_at_hyrumwright.org>
Date: Mon, 21 Feb 2011 12:45:23 +0000

On Mon, Feb 21, 2011 at 9:56 AM, Noorul Islam K M <noorul_at_collab.net> wrote:
>
> I think we have in consistent python indentation. I can see that we use
> 2 space in test/ and 4 in bindings/ctypes-python. Is it not a good idea
> to stick to common indentation?  I can fix it.  Fixing ctypes-python
> will be easier because it has less number of lines.
>
> Any thoughts? Or is it already known to everyone and decided to live
> with it.

Just live with it.

We have a few similar quirks in our C codebase from code that is from
the days before we standardized our coding style. Hasn't killed us
yet, though spaces-before-parens almost did. ;)

-Hyrum
Received on 2011-02-21 13:46:02 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.