Brett Cannon schrieb:
> Unfortunately the pre-commit hook
> does not specify what line a change was made on so I have no clue where
> it is failing (maybe this should be added?).

It creates a reindent.Reindenter on the new contents, then invokes
.run() on it, and complains if that returns true. If you can come
up with a patch to reindent that makes it report more detailed
errors, please post it, and I'll try to merge it into the hook
script.

Regards,
Martin
_______________________________________________
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

Reply via email to