We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78615d2 commit 2ea6e77Copy full SHA for 2ea6e77
Makefile
@@ -72,8 +72,8 @@ setup-venv: ## Create virtual environment
72
install-dependencies: setup-venv ## Install all dependencies including extras
73
uv sync $(PYTHON_ARG) --all-extras --reinstall
74
75
-install-hooks: ## Install pre-commit hooks
76
- uv run $(PYTHON_ARG) prek install
+install-hooks: ## Install pre-commit hooks (skipped outside git repo, e.g. release tarballs)
+ @if [ -d .git ]; then uv run $(PYTHON_ARG) prek install; fi
77
78
install: install-uv install-dependencies install-hooks ## Install uv, dependencies, and pre-commit hooks
79
0 commit comments