[Spambayes] vague standardisation of whitespace in code?
tim_one at email.msn.com
Tue Jan 28 22:28:51 EST 2003
> I'm just about to do a mungo-commit to clean up the whitespace
> issues over the whole codebase (using reindent.py) to try and
> keep things neat :)
reindent -v -r .
from the root should do it all.
> Is it worth putting something in the CVS commit scripts to
> either fix whitespace, or else to whine if it's not in the
> usual 4 space indents?
Nope -- you can't get people to care (enough), different editors leave
different kinds of slop behind, and running reindent every now & again is
painless. The std checkin comment for this is "Whitespace normalization" --
every Python and Zope developer instinctively ignores such checkins, so it's
also a good comment to make on a controversial change you don't want anyone
to notice <wink>.
More information about the Spambayes