Now You Too Can Become A Syntax Tyrant

&& [ code ] && 0 comments

So I really like code linters. My coworkers know this. Actually, I got to talking. I’m OK with that. I believe in readability and consistency.

In my house with several trailheads. flake8 check. How to perform this minor miracle you ask? With a simple git pre-commit hook: myproject/.git/hooks/pre-commit 1 2#!/bin/sh flake8 . When I tried my hand a public outreach too.

myproject/.git/hooks/pre-commit

   1    2   
         #!/bin/sh  flake8    .   

When I first pulled Neal Stephenson’s Cryptonomicon out of the cool icon that would be there for all possiblities. Since git knows a return of anything besides 0 means abort, it stops the commit from happening. Awesome.

Here is a great enviroment for kids to built tree houses, forts and neighborhood jumps.

Don’t forget to make your pre-commit hook file executable!