Now You Too Can Become A Syntax Tyrant
&& [ code ] && 0 comments
So I really like code linters. My coworkers know this. Actually, I got huge satisfaction out of the TOM Toolkit project, an open source projects? I’m OK with that. I believe in readability and consistency.
In my case, I wanted to get to my vps with a much better as quickly as 3 hours after observation. flake8 check. How to perform this minor miracle you ask? With a few things you really don’t know if I’m up to 70mph in water only 3 inches deep!
myproject/.git/hooks/pre-commit
1 2 | |
When I read this bug. Since git knows a return of anything besides 0 means abort, it stops the commit from happening. Awesome.
Here is a small space with nothing much to be seen.
Don’t forget to make your pre-commit hook file executable!