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 @@ -78,19 +78,18 @@ jobs:
7878 - uses : astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba # v6.3.1
7979 with :
8080 python-version : " 3.11"
81- enable-cache : false
8281 activate-environment : true
8382
84- - name : (DEBUG) print numpy version # TODO
83+ - name : install deps
8584 run : |
8685 uv sync --no-editable --group=mypy
8786 uv pip install numpy==${{ matrix.numpy-version }}
8887
89- - name : (DEBUG) print numpy version # TODO
90- run : uv run --no-sync python -c "import numpy; print(numpy.__version__)"
91-
88+ # NOTE: `uv run --with=...` will be ignored by mypy (and `--isolated` does not help)
9289 - name : mypy
93- run : uv run --no-sync mypy --tb tests/integration/test_numpy.pyi
90+ run : >
91+ uv run --no-sync --active
92+ mypy --tb --no-incremental --cache-dir=/dev/null tests/integration/test_numpy.pyi
9493
9594 # TODO: (based)pyright
9695
You can’t perform that action at this time.
0 commit comments