Martin v. Löwis schrieb: >> As I said before, you don't really need that when you can (and should!) just >> run >> reindent.py over the source file yourself, not care about any diffs and just >> resubmit. > > Right. So I withdraw my offer to do anything about the hook.
I think printing something like "Please run Tools/scripts/reindent.py <file> with the rejected files" if bad files were found would be a good idea. 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. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com