1 files changed, 7 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index b9132a3177..097ebb8774 100644
--- a/tox.ini
+++ b/tox.ini
@@ -123,6 +123,7 @@ skip_install = True
basepython = python3.6
deps =
flake8
+ flake8-comprehensions
black==19.10b0 # We pin so that our tests don't start failing on new releases of black.
commands =
python -m black --check --diff .
@@ -167,7 +168,6 @@ commands=
coverage html
[testenv:mypy]
-basepython = python3.7
skip_install = True
deps =
{[base]deps}
@@ -178,10 +178,14 @@ env =
extras = all
commands = mypy \
synapse/api \
- synapse/config/ \
+ synapse/appservice \
+ synapse/config \
synapse/events/spamcheck.py \
+ synapse/federation/federation_base.py \
+ synapse/federation/federation_client.py \
synapse/federation/sender \
synapse/federation/transport \
+ synapse/handlers/presence.py \
synapse/handlers/sync.py \
synapse/handlers/ui_auth \
synapse/logging/ \
@@ -190,6 +194,7 @@ commands = mypy \
synapse/rest \
synapse/spam_checker_api \
synapse/storage/engines \
+ synapse/storage/database.py \
synapse/streams
# To find all folders that pass mypy you run:
|