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

pull/8600/head
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",
]
CONDITIONAL_REQUIREMENTS["mypy"] = ["mypy==0.790", "mypy-zope"]
# 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.
# Tests assume that all optional dependencies are installed.

View File

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