fix(dev): install a lightweight formatting commit hook (#7198)

This commit is contained in:
Zhengchao An
2026-09-05 20:22:56 +08:00
committed by GitHub
parent 3e5d4ebb09
commit c589fd2439
3 changed files with 17 additions and 42 deletions
+3 -2
View File
@@ -3,9 +3,10 @@
.NOTPARALLEL: pre-commit pre-pr dev-check
.PHONY: setup-hooks
setup-hooks: ## Set up git hooks
setup-hooks: ## Install the configured pre-commit hooks
@echo "🔧 Setting up git hooks..."
chmod +x .git/hooks/pre-commit
pre-commit validate-config
pre-commit install
@echo "✅ Git hooks setup complete!"
.PHONY: doc-paths-check