Created
August 16, 2017 05:36
-
-
Save amjith/cfcbaea0acc5a63daba8c6e3d03733cb to your computer and use it in GitHub Desktop.
precommit hook
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
pep8radius master --in-place | |
git diff --cached --name-only | egrep '\.py$'| xargs -l git add |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment