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

Commit

Permalink
Update mypy to 0.790, and move dependencies to extras (#8583)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowJonathan authored Oct 20, 2020
1 parent 74f2928 commit 84c0e46
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
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

0 comments on commit 84c0e46

Please sign in to comment.