summary refs log tree commit diff
path: root/mypy.ini
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-09-03 09:22:22 -0400
committerGitHub <noreply@github.com>2021-09-03 09:22:22 -0400
commitecbfa4fe4fa7625dec14ef8f9bd06cc4ad141de0 (patch)
tree732bb7811ccffe2c68fb59fbb8351486ff786d77 /mypy.ini
parentFix bug with reusing 'txn' when persisting event. (#10743) (diff)
downloadsynapse-ecbfa4fe4fa7625dec14ef8f9bd06cc4ad141de0.tar.xz
Additional type hints for client REST servlets (part 5) (#10736)
Additionally this enforce type hints on all function signatures inside
of the synapse.rest.client package.
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 f6de668edd..03dc6b8697 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -98,6 +98,9 @@ files =
   tests/util/test_itertools.py,
   tests/util/test_stream_change_cache.py
 
+[mypy-synapse.rest.client.*]
+disallow_untyped_defs = True
+
 [mypy-pymacaroons.*]
 ignore_missing_imports = True