Skip to content
Snippets Groups Projects
Unverified Commit 84c0e46c authored by Jonathan de Jong's avatar Jonathan de Jong Committed by GitHub
Browse files

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

parent 74f29284
No related branches found
No related tags found
No related merge requests found
Update `mypy` static type checker to 0.790.
\ No newline at end of file
...@@ -102,6 +102,8 @@ CONDITIONAL_REQUIREMENTS["lint"] = [ ...@@ -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.
......
...@@ -160,9 +160,7 @@ commands= ...@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment