Skip to content

Useful Hooks

Barrucadu edited this page Apr 2, 2012 · 7 revisions

Useful Hooks

pre-commit

Check the code conforms to PEP 8:

#!/bin/sh
git stash -q --keep-index
pep8 .
git stash pop -q
Clone this wiki locally