[GRASSGUI] Using Python -t ?

Daniel Calvelo dca.gis at gmail.com
Mon Mar 19 23:31:19 EDT 2007


My vote for 4-space indentation, as this is emacs python-mode default.

Daniel.

On 3/19/07, Glynn Clements <glynn at gclements.plus.com> wrote:
>
> As some people seem to have trouble with indentation, I'd like to
> suggest that the wxgrass script should be changed to use -t, or even
> -t -t:
>
>        -t     Issue  a  warning  when  a source file mixes tabs and spaces for
>               indentation in a way that makes it depend on the worth of a  tab
>               expressed  in  spaces.   Issue an error when the option is given
>               twice.
>
> Beyond that, we should agree upon a common indentation setting (number
> of columns, and whether to use tabs or spaces). As Python determines
> nesting based upon indentation, this isn't just a stylistic issue.
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>
> _______________________________________________
> grassgui mailing list
> grassgui at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassgui
>


-- 
-- Daniel Calvelo Aros




More information about the grass-gui mailing list