summary refs log tree commit diff
path: root/mypy.ini
diff options
context:
space:
mode:
Diffstat (limited to 'mypy.ini')
-rw-r--r--mypy.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/mypy.ini b/mypy.ini
index cb4489eb37..14d8bb8eaf 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -100,6 +100,9 @@ files =
   tests/util/test_itertools.py,
   tests/util/test_stream_change_cache.py
 
+[mypy-synapse.api.*]
+disallow_untyped_defs = True
+
 [mypy-synapse.events.*]
 disallow_untyped_defs = True