summary refs log tree commit diff
path: root/mypy.ini
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2023-02-03 20:03:23 +0000
committerGitHub <noreply@github.com>2023-02-03 20:03:23 +0000
commit6e6edea6c15dc1a15f44d9e92d334e3ce0f827dd (patch)
tree5af175c1fb876db61855826d329d4f4434e32452 /mypy.ini
parentImplement MSC3958: suppress notifications from edits (#14960) (diff)
downloadsynapse-6e6edea6c15dc1a15f44d9e92d334e3ce0f827dd.tar.xz
Properly typecheck tests.api (#14983)
Diffstat (limited to 'mypy.ini')
-rw-r--r--mypy.ini4
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