Last Updated: February 25, 2016
·
1.199K
· milancermak

Python pre-commit hook

This piece of code will help you keep your Python projects save. It checks if you haven't forgotten to update requirements.txt, if runs pyflakes on all the .py files in the repo and finally, searches for misplaced calls to set_trace().

https://gist.github.com/3849310

If you're using git, you still can force commit with the --no-verify flag.