Update mypy to 0.790, and move dependencies to extras (#8583)

This commit is contained in:
Jonathan de Jong 2020-10-20 13:55:21 +02:00 committed by GitHub
parent 74f29284aa
commit 84c0e46cce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

1
changelog.d/8583.misc Normal file
View file

@ -0,0 +1 @@
Update `mypy` static type checker to 0.790.

View file

@ -102,6 +102,8 @@ CONDITIONAL_REQUIREMENTS["lint"] = [
"flake8", "flake8",
] ]
CONDITIONAL_REQUIREMENTS["mypy"] = ["mypy==0.790", "mypy-zope"]
# Dependencies which are exclusively required by unit test code. This is # Dependencies which are exclusively required by unit test code. This is
# NOT a list of all modules that are necessary to run the unit tests. # NOT a list of all modules that are necessary to run the unit tests.
# Tests assume that all optional dependencies are installed. # Tests assume that all optional dependencies are installed.

View file

@ -160,9 +160,7 @@ commands=
[testenv:mypy] [testenv:mypy]
deps = deps =
{[base]deps} {[base]deps}
mypy==0.782 extras = all,mypy
mypy-zope
extras = all
commands = mypy commands = mypy
# To find all folders that pass mypy you run: # To find all folders that pass mypy you run: