diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 2a4c4e3..3db1bc9 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -95,7 +95,12 @@ jobs: rm -rf "$VENV_DIR" python3 -m venv "$VENV_DIR" "$VENV_DIR/bin/python" -m pip install --upgrade pip - "$VENV_DIR/bin/python" -m pip install -e ".[dev]" + # mypy --strict (files = ["src"]) and pytest --cov=ci_orchestrator both + # walk the whole src tree, web/ included -- [dev] alone leaves fastapi/ + # starlette/uvicorn/jinja2/authlib unresolved, so every symbol they + # touch degrades to Any (masking real type errors) and every + # tests/python/test_web_*.py fails to import. + "$VENV_DIR/bin/python" -m pip install -e ".[dev,web]" - name: ruff shell: bash