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:
78
78
- uses : astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba # v6.3.1
79
79
with :
80
80
python-version : " 3.11"
81
- enable-cache : false
82
81
activate-environment : true
83
82
84
- - name : (DEBUG) print numpy version # TODO
83
+ - name : install deps
85
84
run : |
86
85
uv sync --no-editable --group=mypy
87
86
uv pip install numpy==${{ matrix.numpy-version }}
88
87
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)
92
89
- 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
94
93
95
94
# TODO: (based)pyright
96
95
You can’t perform that action at this time.
0 commit comments