Simple pre-commit hook for checking python files with pycodestyle before committing
#!/bin/sh set -u FILES=$(git diff --cached --name-only --diff-filter=ACM) pycodestyle ${FILES}