Commit e87ccd4a authored by Laurent Bachelier's avatar Laurent Bachelier

Add sample git pre-commit hook

Runs tests and pyflakes, fails if one of them fails.
parent daf189fa
#!/bin/sh
VALID=0
./tools/pyflakes.sh || VALID=1
./tools/run_tests.sh || VALID=1
exit $VALID
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment