[Python-Dev] whitespace normalization
g.brandl at gmx.net
Wed Apr 25 21:19:45 CEST 2007
Guido van Rossum schrieb:
> On 4/25/07, Georg Brandl <g.brandl at gmx.net> wrote:
>> Well, there are editors that don't intelligently strip whitespace, so that
>> people using them would be constantly pained by such a hook.
> And they should. There really is no excuse for letting one developer's
> poor choice of tools cause later grief for all other developers.
Okay, attached is a pre-commit hook script for that purpose.
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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Python-Dev