Created
May 14, 2015 19:38
-
-
Save awestendorf/0bacf19a7c2896971ebc to your computer and use it in GitHub Desktop.
Run flake8 on the changes in your branch
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
export CUR_BRANCH=$(git name-rev --name-only HEAD) && git diff --name-only $CUR_BRANCH $(git merge-base $CUR_BRANCH master) | grep .py | xargs flake8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment