diff --git a/.githooks/hook.sh b/.githooks/hook.sh new file mode 100755 index 0000000..0175f54 --- /dev/null +++ b/.githooks/hook.sh @@ -0,0 +1,24 @@ +#!/bin/sh +# -- +# | +# | +# | +# | | +# | --- +# --- '-' +# '-' ____|_____ +# ____|__/ | / +# / | / | / +# / |( | ( +# ( | \ | \ +# \ | \____|____\ /| +# /\____|___`---.----` .' | +# .-'/ | \ |__.--' \ +# .'/ ( | \ |. \ +#_ /_/ \ | \ | `. \ +# `-.' \.--._|.---` | `-._______\ +# ``-.-------'-------'------------/ +# `'._______________________.' +# HMS HOOK + +for h in "$(dirname "$0")"/"$(basename "$0")".d/*; do test -x "$h" && $h; done diff --git a/.githooks/pre-commit b/.githooks/pre-commit new file mode 120000 index 0000000..4f8b6bb --- /dev/null +++ b/.githooks/pre-commit @@ -0,0 +1 @@ +hook.sh \ No newline at end of file diff --git a/.githooks/pre-commit.d/00-black b/.githooks/pre-commit.d/00-black new file mode 100755 index 0000000..21cfde7 --- /dev/null +++ b/.githooks/pre-commit.d/00-black @@ -0,0 +1 @@ +black ./vaultify