[Python-Dev] whitespace normalization

Georg Brandl g.brandl at gmx.net
Thu Apr 26 08:15:05 CEST 2007


Martin v. Löwis schrieb:
>> Okay, attached is a pre-commit hook script for that purpose.
> 
> How does that deal with deletions?

Ah, you'd have to look at the first two chars of every lines that
I cut away.

> What do you think about
> the attached alternative?

I'd say it's better since it uses the Python SVN bindings instead
of calling external programs...

Georg

-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.



More information about the Python-Dev mailing list