mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-13 16:47:34 -06:00
17 lines
389 B
Bash
Executable File
17 lines
389 B
Bash
Executable File
#!/bin/sh
|
|
# TODO: Remove this file in NetBox v4.3
|
|
# This script has been maintained to ease transition to the pre-commit tool.
|
|
|
|
exec 1>&2
|
|
|
|
EXIT=0
|
|
RED='\033[0;31m'
|
|
YELLOW='\033[0;33m'
|
|
NOCOLOR='\033[0m'
|
|
|
|
printf "${YELLOW}The pre-commit hook script is obsolete. Please use pre-commit instead:${NOCOLOR}\n"
|
|
printf " pip install pre-commit\n"
|
|
printf " pre-commit install${NOCOLOR}\n"
|
|
|
|
exit 1
|