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 09:27:45 -0500
committerGitHub <noreply@github.com>2021-11-12 14:27:45 +0000
commit95547e53007be2840c78f1c45b0c5a2ea8dcb410 (patch)
tree9d194ab6a952c9e352c37ddd451cdcffca095e6f /mypy.ini
parentAdd more type hints to synapse.util. (#11321) (diff)
downloadsynapse-95547e53007be2840c78f1c45b0c5a2ea8dcb410.tar.xz
Generalize the disallowed_untyped_defs in mypy.ini (#11322)
Diffstat (limited to 'mypy.ini')
-rw-r--r--mypy.ini16
1 files changed, 2 insertions, 14 deletions
diff --git a/mypy.ini b/mypy.ini
index f0af4ab289..60672ea5c8 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -177,16 +177,7 @@ disallow_untyped_defs = True
 [mypy-synapse.state.*]
 disallow_untyped_defs = True
 
-[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.*]
+[mypy-synapse.storage]
 disallow_untyped_defs = True
 
 [mypy-synapse.streams.*]
@@ -279,10 +270,7 @@ disallow_untyped_defs = True
 [mypy-synapse.util.versionstring]
 disallow_untyped_defs = True
 
-[mypy-tests.handlers.test_user_directory]
-disallow_untyped_defs = True
-
-[mypy-tests.storage.test_user_directory]
+[mypy-tests]
 disallow_untyped_defs = True
 
 ;; Dependencies without annotations