pre-commit CI installs the extras, so strict mypy finds the server-extra imports
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WgBfkm4rCmtd1T4vHWjEPx
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user