[Tutor] nose, git, post-commit hook

Rob Day robert.day at merton.oxon.org
Mon Feb 4 18:42:08 CET 2013

On 4 February 2013 15:32, Albert-Jan Roskam <fomcl at yahoo.com> wrote:
> I am using git VCS and I read about the possibility to use post-commit hooks for nose tests. That sounds pretty cool, but does this also have disadvantages?
> It would be very annoying if I couldn't check in code, safely tucked away on some server, that is not yet working. Is there also a way to by-pass the 'mandatory' tests?

This isn't really a Python question, but if you use pre-commit hooks,
you can bypass them with the "--no-verify" option to "git commit". See

Robert K. Day
robert.day at merton.oxon.org

More information about the Tutor mailing list