2
0

pre-commit 389 B

12345678910111213141516
  1. #!/bin/sh
  2. # TODO: Remove this file in NetBox v4.3
  3. # This script has been maintained to ease transition to the pre-commit tool.
  4. exec 1>&2
  5. EXIT=0
  6. RED='\033[0;31m'
  7. YELLOW='\033[0;33m'
  8. NOCOLOR='\033[0m'
  9. printf "${YELLOW}The pre-commit hook script is obsolete. Please use pre-commit instead:${NOCOLOR}\n"
  10. printf " pip install pre-commit\n"
  11. printf " pre-commit install${NOCOLOR}\n"
  12. exit 1