0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-05-19 03:53:45 +02:00

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",
]
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: