Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
sjaaktrekhaak
· 12y ago · 0 comments
Is the precommit hook[1] a custom one or is it an off-the-shelf Django recommended hook? Looks like it has some neat tricks and code style checking.
[1]:
https://github.com/Yipit/pyeqs/blob/master/pre-commit
Comments
[–]
andrewgross
12y ago
It is a modified version of what we use at Yipit. I stripped out mostly things related to working with Django/Flask apps. It comes in very handy when making sure we maintain style and push fewer broken commits. Feel free to re-use.