Created
July 11, 2013 01:22
-
-
Save samalba/5971752 to your computer and use it in GitHub Desktop.
Quickly check the syntax of your Python code
This file contains hidden or 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
# Add this to your ~/.bashrc (or ~/.zshrc) | |
pycheck () { | |
type flake8 > /dev/null || { | |
echo "pip install flake8" | |
return | |
} | |
find . -name '*.py' -type f -exec flake8 {} \; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment