Closes #16248: Replace git commit hook script with pre-commit

This commit is contained in:
Jeremy Stretch
2024-10-11 10:26:54 -04:00
parent 7ac6dff96d
commit a964645c0a
3 changed files with 71 additions and 17 deletions

View File

@@ -14,6 +14,11 @@ RED='\033[0;31m'
YELLOW='\033[0;33m'
NOCOLOR='\033[0m'
printf "${YELLOW}This script is obsolete and will be removed in a future release.\n"
printf "Please use pre-commit instead:\n"
printf " pip install pre-commit\n"
printf " pre-commit install${NOCOLOR}\n"
if [ -d ./venv/ ]; then
VENV="$PWD/venv"
if [ -e $VENV/bin/python ]; then