[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gzz] Python code conventions?
From: |
Tuomas Lukka |
Subject: |
Re: [Gzz] Python code conventions? |
Date: |
Fri, 30 Aug 2002 10:49:11 +0300 |
User-agent: |
Mutt/1.4i |
On Fri, Aug 30, 2002 at 10:25:01AM +0300, Vesa Kaihlavirta wrote:
> Just a little thing: I've noticed that almost all of our python-files
> are contaminated with indentation that uses both tabs and spaces. This
> makes some editors to show indentations incorrectly, which in pythonese
> means that the program looks wrong.
>
> So we should decide whether to use ONLY tabs or ONLY spaces, and after
> resolution, never go back to using both. Perhaps a test that runs
> python -tt or equivalent on all python-code?
I'd think that would be the fault of the editor: the unix standard
convention of tabbing to the next multiple of 8 seems good.
Tuomas