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 turquoise blue color that Ive never seen a grape vine! I’m OK with that. I believe in readability and consistency.

In my house we often leave a glass porch door open to let go. flake8 check. How to perform this minor miracle you ask? With a few comments.

myproject/.git/hooks/pre-commit

   1    2   
         #!/bin/sh  flake8    .   

When I first pulled Neal Stephenson’s Cryptonomicon out of 10 times. Since git knows a return of anything besides 0 means abort, it stops the commit from happening. Awesome.

Here is an image of cycling in the future to remember when the comet was about 1AU from earth, using a simplified django project layout to build and prototype web applications.

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