summary refs log tree commit diff
path: root/mypy.ini
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-11-12 15:10:03 -0500
committerGitHub <noreply@github.com>2021-11-12 20:10:03 +0000
commit3fad4e3fe508742bbf60274f26794dbffca9e937 (patch)
treea2505240a3f6596de2b0bd796e916d06f01c9e7a /mypy.ini
parentTest room alias deletion (#11327) (diff)
downloadsynapse-3fad4e3fe508742bbf60274f26794dbffca9e937.tar.xz
Rollback #11322 due to wrong syntax in mypy.ini. (#11332)
This was only checking the __init__ files in modules instead of
all files in a module, which don't pass yet.
Diffstat (limited to '')
-rw-r--r--mypy.ini16
1 files changed, 14 insertions, 2 deletions
diff --git a/mypy.ini b/mypy.ini
index 67dde5991b..108e1e895c 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -175,7 +175,16 @@ disallow_untyped_defs = True
 [mypy-synapse.state.*]
 disallow_untyped_defs = True
 
-[mypy-synapse.storage]
+[mypy-synapse.storage.databases.main.client_ips]
+disallow_untyped_defs = True
+
+[mypy-synapse.storage.databases.main.room_batch]
+disallow_untyped_defs = True
+
+[mypy-synapse.storage.databases.main.user_erasure_store]
+disallow_untyped_defs = True
+
+[mypy-synapse.storage.util.*]
 disallow_untyped_defs = True
 
 [mypy-synapse.streams.*]
@@ -268,7 +277,10 @@ disallow_untyped_defs = True
 [mypy-synapse.util.versionstring]
 disallow_untyped_defs = True
 
-[mypy-tests]
+[mypy-tests.handlers.test_user_directory]
+disallow_untyped_defs = True
+
+[mypy-tests.storage.test_user_directory]
 disallow_untyped_defs = True
 
 [mypy-tests.rest.client.test_directory]