summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-06-11 19:45:49 +0100
committerDavid Robertson <davidr@element.io>2022-06-11 19:45:49 +0100
commit97d72ef11a938d6cbd4fc44677f516d893a9ec19 (patch)
tree5372b94b2d588c481410c21b391391626b33b715
parentSuppress checking of a mock (diff)
downloadsynapse-97d72ef11a938d6cbd4fc44677f516d893a9ec19.tar.xz
tests.utils is typed
-rw-r--r--mypy.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/mypy.ini b/mypy.ini
index 7973f2ac01..6590f0c25f 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -75,7 +75,6 @@ exclude = (?x)
    |tests/util/test_lrucache.py
    |tests/util/test_rwlock.py
    |tests/util/test_wheel_timer.py
-   |tests/utils.py
    )$
 
 [mypy-synapse.federation.transport.client]
@@ -129,6 +128,9 @@ disallow_untyped_defs = True
 [mypy-tests.federation.transport.test_client]
 disallow_untyped_defs = True
 
+[mypy-tests.utils]
+disallow_untyped_defs = True
+
 
 ;; Dependencies without annotations
 ;; Before ignoring a module, check to see if type stubs are available.