summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBas van Beek <b.f.van.beek@vu.nl>2022-03-11 17:55:12 +0100
committerBas van Beek <b.f.van.beek@vu.nl>2022-03-11 18:29:08 +0100
commit15bf884e180c7956d5ddb362a0c19532141b7e02 (patch)
tree2733f94be31e368fb8378acc009b8cf6633f2320
parent73e48ae177c4b29cdbdbcfd39e22cf5de6c7f125 (diff)
downloadnumpy-15bf884e180c7956d5ddb362a0c19532141b7e02.tar.gz
TST: Bump mypy from 0.931 to 0.940
-rw-r--r--environment.yml2
-rw-r--r--test_requirements.txt3
2 files changed, 3 insertions, 2 deletions
diff --git a/environment.yml b/environment.yml
index 7d8fba983..db1b42ee1 100644
--- a/environment.yml
+++ b/environment.yml
@@ -19,7 +19,7 @@ dependencies:
- pytest-xdist
- hypothesis
# For type annotations
- - mypy=0.931
+ - mypy=0.940
# For building docs
- sphinx=4.2.0
- sphinx-panels
diff --git a/test_requirements.txt b/test_requirements.txt
index 7ca578e84..446708058 100644
--- a/test_requirements.txt
+++ b/test_requirements.txt
@@ -9,4 +9,5 @@ pytest-cov==3.0.0
cffi; python_version < '3.10'
# For testing types. Notes on the restrictions:
# - Mypy relies on C API features not present in PyPy
-mypy==0.931; platform_python_implementation != "PyPy"
+# NOTE: Keep mypy in sync with environment.yml
+mypy==0.940; platform_python_implementation != "PyPy"