Skip to content

Commit 9ac0fa5

Browse files
committed
CI: use Python 3.9 for running mypy and bump mypy version to 0.991
Running with Python 3.9 allows mypy to check our importlib.resource interfaces. mypy 0.991 does a better job in understanding typing in the editable support code.
1 parent 7e37525 commit 9ac0fa5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,10 @@ jobs:
293293
- name: Setup Python
294294
uses: actions/setup-python@v4
295295
with:
296-
python-version: 3.7
296+
python-version: 3.9
297297

298298
- name: Install mypy
299-
run: python -m pip --disable-pip-version-check install mypy==0.981
299+
run: python -m pip --disable-pip-version-check install mypy==0.991
300300

301301
- name: Run mypy
302302
run: mypy -p mesonpy

0 commit comments

Comments
 (0)