[GRASSGUI] Using Python -t ?

Glynn Clements glynn at gclements.plus.com
Mon Mar 19 14:48:17 EDT 2007


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>




More information about the grass-gui mailing list