1 files changed, 3 insertions, 1 deletions
diff --git a/mypy.ini b/mypy.ini
index 57f43395bb..a6e37bc377 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -32,7 +32,6 @@ exclude = (?x)
|synapse/storage/databases/main/cache.py
|synapse/storage/schema/
- |tests/api/test_auth.py
|tests/appservice/test_scheduler.py
|tests/federation/test_federation_catch_up.py
|tests/federation/test_federation_sender.py
@@ -73,6 +72,9 @@ disallow_untyped_defs = False
[mypy-tests.*]
disallow_untyped_defs = False
+[mypy-tests.api.*]
+disallow_untyped_defs = True
+
[mypy-tests.app.*]
disallow_untyped_defs = True
|