Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

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

Merged
merged 2 commits into from
Oct 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/8583.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update `mypy` static type checker to 0.790.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ def exec_file(path_segments):
"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.
Expand Down
4 changes: 1 addition & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down