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