#!/bin/sh # File generated by pre-commit: https://pre-commit.com # ID: 138fd403232d2ddd5efb44317e38bf03 # start templated INSTALL_PYTHON='' ARGS="hook-impl" # end templated HERE="$(cd "$(dirname "$0")" && pwd)" set -- $ARGS --hook-dir "$HERE" -- "$@" if [ -x "$INSTALL_PYTHON" ]; then exec "$INSTALL_PYTHON" -mpre_commit "$@" elif command -v pre-commit > /dev/null; then exec pre-commit "$@" else echo '`pre-commit` not found. Did you forget to activate your virtualenv?' 1>&2 exit 1 fi