Skip to content

Development setup

Andrés Fortier edited this page Apr 5, 2017 · 2 revisions

Pre-commit hook

TravisCI jobs are triggered when a new PR is requested, checking pep8 and unit tests. We strongly recommend setting up a pre-commit hook to your git environment, so these are run locally before pushing your code. Execute the following line to run the tests and pep8 validation as a pre-commit hook in your local env:

$ ln -s ../../pre-commit.sh .git/hooks/pre-commit
Clone this wiki locally