Umlauts and Indentation
bh at intevation.de
Thu Dec 9 21:46:39 CET 2004
Bernhard Reiter <bernhard at intevation.de> writes:
> On Tue, Dec 07, 2004 at 05:44:53PM +0100, cvs at intevation.de wrote:
>> Author: nhueffme
> The encoding of the python file is not declared,
> the warning has the details:
> This can only be seen with newer python versions.
More precisely Python >= 2.3
> Some files use tabs and spaces intermixed.
> In general this calls for trouble, this is why the Thuban
> coding guidelines (in Docs/technotes/ ) have the following:
> Source Formatting
> - Use only spaces for indentation. Each
> indentation level is four spaces.
Plus (also from coding_guidelines.txt):
- All lines should be at most 79 characters long
Intevation GmbH http://intevation.de/
More information about the Thuban-devel