Turnstile is a configurable and extensible local git hook. You can find it on Github and on Pypi.
Contents: