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

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.
parent bea815ce
No related branches found
No related tags found
No related merge requests found
Add type hints to storage classes.
......@@ -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]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment