Skip to content

Commit 4dc339f

Browse files
committed
fix: reorder setup dependencies to install hooks after packages
1 parent f1237ff commit 4dc339f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@ PYTHON_VERSION ?= 3.12
1111
ensure-uv: # Install uv if not present
1212
@which uv > /dev/null || (curl -LsSf https://astral.sh/uv/install.sh | sh)
1313

14-
setup: ensure-uv compile-deps ensure-scripts install-hooks # Install dependencies
14+
setup: ensure-uv compile-deps ensure-scripts # Install dependencies
1515
UV_PYTHON_VERSION=$(PYTHON_VERSION) uv venv
1616
UV_PYTHON_VERSION=$(PYTHON_VERSION) uv pip sync requirements.txt requirements-dev.txt
17+
$(MAKE) install-hooks
1718

1819
install-hooks: # Install pre-commit hooks if in a git repo with hooks configured
1920
@if [ -d .git ] && [ -f .pre-commit-config.yaml ]; then \

0 commit comments

Comments
 (0)