Skip to content

Commit

Permalink
type: Update after resolution of python/mypy#13627
Browse files Browse the repository at this point in the history
  • Loading branch information
dalcinl committed Oct 10, 2022
1 parent 5afbdfa commit aafd3ec
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ jobs:
- "3.7"
- "3.8"
- "3.9"
- "3.10.6" # python/mypy#13627
- "3.10"

steps:

Expand All @@ -201,9 +201,7 @@ jobs:
git diff && test -z "$(git diff)"
- name: Install type dependencies
run: python -m pip install
mypy
numpy
run: python -m pip install --upgrade -r conf/requirements-type.txt

- name: mypy (typecheck)
run: mypy -p mpi4py
Expand Down
3 changes: 3 additions & 0 deletions conf/requirements-type.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
mypy
numpy

5 changes: 1 addition & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,12 @@ commands =
pylint mpi4py

[testenv:type]
deps =
mypy
numpy
deps = -r{toxinidir}/conf/requirements-type.txt
setenv =
MPICFG=nompi-fast
CFLAGS=-O0
commands =
stubtest mpi4py
mypy --python-version 3.7 -p mpi4py
mypy --python-version 3.8 -p mpi4py
mypy --python-version 3.9 -p mpi4py
mypy --python-version 3.10 -p mpi4py
Expand Down

0 comments on commit aafd3ec

Please sign in to comment.