Commit Graph

2 Commits

Author SHA1 Message Date
Eddie Hebert 060b565cdc DEV: Adds stashing to pre-commit hook.
So that the code that is linted/tested is only the staged commits.
Useful when editing by only staging parts of files via git.
2013-03-20 11:00:38 -04:00
Eddie Hebert f054835cd1 DEV: Provides an example pre-commit hook.
This pre-commit hook can be activated by copying or symlinking to
the .git/hooks directory

This particular commit hook is best suited for git versions < 1.8.2
The running of nosetests would be better suited for a push hook,
but those are not added until 1.8.2.
2013-03-19 23:33:36 -04:00