summary refs log tree commit diff
path: root/tox.ini
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-12-12 14:52:11 +0000
committerErik Johnston <erik@matrix.org>2019-12-12 14:52:11 +0000
commit324d4f61b89d1fe16833480d5bd5b47d3b4ef0ba (patch)
tree3ab2b877166c29355c557fa38d924a8985dd0a7c /tox.ini
parentCheck the room_id of events when fetching room state/auth (#6524) (diff)
downloadsynapse-324d4f61b89d1fe16833480d5bd5b47d3b4ef0ba.tar.xz
Include more folders in mypy
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini14
1 files changed, 13 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 903a245fb0..2ae82d674f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -177,5 +177,17 @@ env =
     MYPYPATH = stubs/
 extras = all
 commands = mypy \
+            synapse/config/ \
+            synapse/handlers/ui_auth \
             synapse/logging/ \
-            synapse/config/
+            synapse/module_api \
+            synapse/rest/consent \
+            synapse/rest/media/v0 \
+            synapse/rest/saml2 \
+            synapse/spam_checker_api \
+            synapse/storage/engines \
+            synapse/streams
+
+# To find all folders that pass mypy you run:
+#
+#   find synapse/* -type d -not -name __pycache__ -exec bash -c "mypy '{}' > /dev/null"  \; -print