python-git-hooks is a small set of git hooks for python development. For now, it includes pyflakes tests before commiting.
- Pyflakes tests on pre-commit
Install the dependencies:
pip install -r requirements.txt
On your repository:
cd myproject/ ln -sf python-git-hooks/pre-commit .git/hooks/
From now on, all your commits will be previously submited to code checks before getting accepted.
On your repository
cd myproject/ rm .git/hooks/pre-commit