Skip to content
Snippets Groups Projects
Unverified Commit 95547e53 authored by Patrick Cloke's avatar Patrick Cloke Committed by GitHub
Browse files

Generalize the disallowed_untyped_defs in mypy.ini (#11322)

parent b64b6d12
Branches
Tags
No related merge requests found
Add type hints to storage classes.
...@@ -177,16 +177,7 @@ disallow_untyped_defs = True ...@@ -177,16 +177,7 @@ disallow_untyped_defs = True
[mypy-synapse.state.*] [mypy-synapse.state.*]
disallow_untyped_defs = True disallow_untyped_defs = True
[mypy-synapse.storage.databases.main.client_ips] [mypy-synapse.storage]
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 disallow_untyped_defs = True
[mypy-synapse.streams.*] [mypy-synapse.streams.*]
...@@ -279,10 +270,7 @@ disallow_untyped_defs = True ...@@ -279,10 +270,7 @@ disallow_untyped_defs = True
[mypy-synapse.util.versionstring] [mypy-synapse.util.versionstring]
disallow_untyped_defs = True disallow_untyped_defs = True
[mypy-tests.handlers.test_user_directory] [mypy-tests]
disallow_untyped_defs = True
[mypy-tests.storage.test_user_directory]
disallow_untyped_defs = True disallow_untyped_defs = True
;; Dependencies without annotations ;; Dependencies without annotations
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment