diff --git a/.gitea/workflows/pre-commit.yml b/.gitea/workflows/pre-commit.yml index bef3351..a87007a 100644 --- a/.gitea/workflows/pre-commit.yml +++ b/.gitea/workflows/pre-commit.yml @@ -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