|
@@ -13,8 +13,8 @@
|
|
|
# pre-commit hooks to be executed. They should be in the same .git/hooks/ folder
|
|
|
# as this script. Hooks should return 0 if successful and nonzero to cancel the
|
|
|
# commit. They are executed in the order in which they are listed.
|
|
|
-#HOOKS="pre-commit-compile pre-commit-uncrustify"
|
|
|
HOOKS="pre-commit-clang-format pre-commit-black pre-commit-make-rst"
|
|
|
+HOOKS="$HOOKS $(find $(dirname -- "$0") -type f -name 'pre-commit-custom-*' -exec basename {} \;)"
|
|
|
###########################################################
|
|
|
# There should be no need to change anything below this line.
|
|
|
|