diff --git a/mypy.ini b/mypy.ini
index a7019e2bd4..2cdd552f46 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -22,8 +22,11 @@ files =
synapse/crypto,
synapse/event_auth.py,
synapse/events/builder.py,
+ synapse/events/presence_router.py,
+ synapse/events/snapshot.py,
synapse/events/spamcheck.py,
synapse/events/third_party_rules.py,
+ synapse/events/utils.py,
synapse/events/validator.py,
synapse/federation,
synapse/groups,
@@ -53,6 +56,7 @@ files =
synapse/storage/_base.py,
synapse/storage/background_updates.py,
synapse/storage/databases/main/appservice.py,
+ synapse/storage/databases/main/client_ips.py,
synapse/storage/databases/main/events.py,
synapse/storage/databases/main/keys.py,
synapse/storage/databases/main/pusher.py,
@@ -88,11 +92,16 @@ files =
tests/handlers/test_user_directory.py,
tests/rest/client/test_login.py,
tests/rest/client/test_auth.py,
+ tests/rest/media/v1/test_filepath.py,
+ tests/rest/media/v1/test_oembed.py,
tests/storage/test_state.py,
tests/storage/test_user_directory.py,
tests/util/test_itertools.py,
tests/util/test_stream_change_cache.py
+[mypy-synapse.events.*]
+disallow_untyped_defs = True
+
[mypy-synapse.handlers.*]
disallow_untyped_defs = True
@@ -108,6 +117,9 @@ disallow_untyped_defs = True
[mypy-synapse.state.*]
disallow_untyped_defs = True
+[mypy-synapse.storage.databases.main.client_ips]
+disallow_untyped_defs = True
+
[mypy-synapse.storage.util.*]
disallow_untyped_defs = True
|