osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What Python related git pre-commit hooks are you using?



On 18 Nov 2018 20:33, Malcolm Greene <python at bdurham.com> wrote:

>Curious to learn what Python related git >pre-commit hooks people are using? What >hooks have you found useful and which >hooks have you tried

I use Python to reject large commits (pre-commit hook): http://code.activestate.com/recipes/578883-git-pre-commit-hook-to-reject-large-files-using-py/

I've also used hooks to trigger a Sphinx doc build, and for tox.