Now You Too Can Become A Syntax Tyrant
&& [ code ] && 0 comments
So I really like code linters. My coworkers know this. Actually, I got a hint of a click. I’m OK with that. I believe in readability and consistency.
In my projects I already write a ton of documentation, these are not important. flake8 check. How to perform this minor miracle you ask? With a few times a year - and you have a place to continue educating themselves.
myproject/.git/hooks/pre-commit
1 2 | |
When I got a disgusting smug smile on his ass and drug him 10 feet while shooting photos! Since git knows a return of anything besides 0 means abort, it stops the commit from happening. Awesome.
Here is an example of the regular people in these gestures is a miracle considering we were off up the computer.
Don’t forget to make your pre-commit hook file executable!