File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -79,19 +79,18 @@ jobs:
7979 - uses : astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba # v6.3.1
8080 with :
8181 python-version : " 3.11"
82- enable-cache : false
8382 activate-environment : true
8483
85- - name : (DEBUG) print numpy version # TODO
84+ - name : install deps
8685 run : |
8786 uv sync --no-editable --group=mypy
8887 uv pip install numpy==${{ matrix.numpy-version }}
8988
90- - name : (DEBUG) print numpy version # TODO
91- run : uv run --no-sync python -c "import numpy; print(numpy.__version__)"
92-
89+ # NOTE: `uv run --with=...` will be ignored by mypy (and `--isolated` does not help)
9390 - name : mypy
94- run : uv run --no-sync mypy --tb tests/integration/test_numpy.pyi
91+ run : >
92+ uv run --no-sync --active
93+ mypy --tb --no-incremental --cache-dir=/dev/null tests/integration/test_numpy.pyi
9594
9695 # TODO: (based)pyright
9796
You can’t perform that action at this time.
0 commit comments