pre-commit CI installs the extras, so strict mypy finds the server-extra imports

This commit is contained in:
2026-10-15 16:09:08 +02:00
parent aa64251de0
commit f32539f7c0
+4 -2
View File
@@ -43,9 +43,11 @@ jobs:
# settings, which read ../.env from backend/.
run: cp .env.example .env
# The hooks call `uv run ruff` from the repo root, so the workspace .venv
# (pyproject.toml → [tool.uv.workspace]) is what has to exist.
# (pyproject.toml → [tool.uv.workspace]) is what has to exist. The extras
# too, as `make lint-backend` does: strict mypy below checks call sites
# into what only the `server` extra installs.
- name: Install backend dependencies
run: uv sync
run: uv sync --all-extras
- name: Install frontend dependencies
run: bun install --frozen-lockfile
# The formatting hooks rewrite files; pre-commit exits non-zero when they