File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,14 +27,18 @@ jobs:
2727 # Install runtime and test dependencies (skip dev extras that require ruff)
2828 python -m pip install -e .
2929 python -m pip install pytest pytest-asyncio pytest-json-report
30+ # Install linters required by the workflow
31+ python -m pip install black mypy
32+ # Optional: try to pre-install ruff (prefer binary) but don't fail if unavailable
33+ python -m pip install "ruff>=0.16.0" --prefer-binary --index-url https://pypi.org/simple || true
3034 - name : Run linters and type checks
3135 run : |
3236 # Ruff for linting (optional: skip if not installed)
3337 python -m ruff check . || echo "ruff not available; skipping ruff checks"
3438 # Black check
3539 python -m black --check .
3640 # Mypy type check
37- python -m mypy src || echo "mypy failed or missing; check types locally"
41+ python -m mypy src
3842 - name : Run tests
3943 run : |
4044 python -m pytest -q
You can’t perform that action at this time.
0 commit comments