initial commit

This commit is contained in:
2025-07-13 11:45:43 -05:00
commit fcc98eada9
10 changed files with 1072 additions and 0 deletions

16
.setup-precommit.sh Normal file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
set -e
CONFIG=".pre-commit-config.yaml"
if [ ! -f "$CONFIG" ]; then
echo "Copying default pre-commit configuration..."
cp /usr/local/share/default-pre-commit-config.yaml "$CONFIG"
else
echo "$CONFIG already exists, not overwriting."
fi
echo "Installing hooks..."
pre-commit install
pre-commit autoupdate
echo "pre-commit is ready."