mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 07:53:47 +01:00
Update mypy to 0.790, and move dependencies to extras (#8583)
This commit is contained in:
parent
74f29284aa
commit
84c0e46cce
3 changed files with 4 additions and 3 deletions
1
changelog.d/8583.misc
Normal file
1
changelog.d/8583.misc
Normal file
|
@ -0,0 +1 @@
|
|||
Update `mypy` static type checker to 0.790.
|
2
setup.py
2
setup.py
|
@ -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.
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue