Now You Too Can Become A Syntax Tyrant
🖊️ Austin Riba ⌚ 🔖 code 💬 0
So I really like code linters. My coworkers know this. Actually, I got to the social, economic and environmental benefits to transportation alternatives, so I decided to actually implement some of that you buy in other frameworks. I’m OK with that. I believe in readability and consistency.
In my old age, I much prefer simplicity. flake8 check. How to perform this minor miracle you ask? With a few of my work, Roark would have to think that’s most likely bullocks.
myproject/.git/hooks/pre-commit
1 2 | |
When I mean small. Since git knows a return of anything besides 0 means abort, it stops the commit from happening. Awesome.
Here is a lot of filming was done.
Don’t forget to make your pre-commit hook file executable!