Skip to content

Instantly share code, notes, and snippets.

@reterVision
Created January 22, 2013 03:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save reterVision/4591877 to your computer and use it in GitHub Desktop.
Save reterVision/4591877 to your computer and use it in GitHub Desktop.
Do pyflakes & pep8 to modified files dicovered by git.
#!/bin/sh
git status | grep 'modified\|added' | awk '{system("pyflakes "$3)}'
git status | grep 'modified\|added' | awk '{system("pep8 "$3)}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment