2010/11/8 Senthil Kumaran <orsent...@gmail.com>: > On Mon, Nov 08, 2010 at 11:55:39AM +0100, Łukasz Langa wrote: >> Even if that commit hook prevents a single wrong commit a year, it's >> worth it. As unpaid volunteers, we don't have time for hunting the >> same mistakes twice. > > For common mistakes, there are commit hooks which prevent you from > committing wrongly indented code or rst files. This helps couple of > times a year, but having commit-hooks for every other mistake may not > be a good idea.
Depends on how you phrase the tests, though -- the tests "does this file only contain characters from the accepted character set" and "does this file contain a non-breaking space" will both catch this issue, but the former is more useful. </F> _______________________________________________ python-committers mailing list python-committers@python.org http://mail.python.org/mailman/listinfo/python-committers