discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Standardized indentation?


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Standardized indentation?
Date: Thu, 05 Jun 2008 15:00:36 -0700
User-agent: Thunderbird 2.0.0.0 (X11/20070326)

Steven Clark wrote:
I noticed that many gnuradio files (gmsk.py for example) contain an
unholy mix of spaces and tabs for indentation. Is there any easy way
to standardize our indentation? Many text editors can make it so
hitting tab creates 4 spaces instead of the tab character.


You can fix these files with the expand tool.

http://webtools.live2support.com/linux/expand.php

 (I like 4 spaces per indent, what about you guys?)

Raw tab characters for me. You can configure your editor to display the tab as any width. And you can always convert the code to spaced based indentation with expand.

-Josh


http://www.python.org/dev/peps/pep-0008/


_______________________________________________
Discuss-gnuradio mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio






reply via email to

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