summary refs log tree commit diff
path: root/tox.ini
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-02-27 11:53:40 +0000
committerGitHub <noreply@github.com>2020-02-27 11:53:40 +0000
commit132b673dbefa42eb7669a11522426f26e225ac05 (patch)
tree418e03f3fdd23bf2f6781010daa4e6c0fc7ba49a /tox.ini
parentStore room version on invite (#6983) (diff)
downloadsynapse-132b673dbefa42eb7669a11522426f26e225ac05.tar.xz
Add some type annotations in `synapse.storage` (#6987)
I cracked, and added some type definitions in synapse.storage.

Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 3 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 4ccfde01b5..6521535137 100644
--- a/tox.ini
+++ b/tox.ini
@@ -168,7 +168,6 @@ commands=
     coverage html
 
 [testenv:mypy]
-basepython = python3.7
 skip_install = True
 deps =
     {[base]deps}
@@ -179,7 +178,8 @@ env =
 extras = all
 commands = mypy \
             synapse/api \
-            synapse/config/ \
+            synapse/appservice \
+            synapse/config \
             synapse/events/spamcheck.py \
             synapse/federation/sender \
             synapse/federation/transport \
@@ -192,6 +192,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: