[GRASS-dev] [GRASS GIS] #1832: Python scripts are with mixed tabs and spaces
GRASS GIS
trac at osgeo.org
Tue Dec 11 13:37:08 PST 2012
#1832: Python scripts are with mixed tabs and spaces
-------------------------+--------------------------------------------------
Reporter: klo | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 6.4.3
Component: Python | Version: unspecified
Keywords: | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by glynn):
Replying to [comment:1 martinl]:
> I noticed that majority of python files in GRASS distribution are with
mixed tabs and spaces
I think that we need an option to resolve issues as "so what?". But
invalid or wontfix would suffice here.
Mixing tabs and spaces isn't inherently a problem, so long as no-one uses
something other than 8 column tabs (which is a bad idea for so many
reasons).
Even if we "fix" it for now, it will just keep creeping back in. Not all
GRASS developers work on GRASS and GRASS alone, and not all text editors
can easily be configured to automatically use different conventions for
different projects. So people will continue to commit changes which use
their text editor's default indentation.
The only permanent fix would be to configure the subversion server to
automatically convert files on upload (although that can create problems
of its own).
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1832#comment:2>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list