mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-09 15:31:56 +00:00
This was only checking the __init__ files in modules instead of all files in a module, which don't pass yet.
This commit is contained in:
parent
bea815cec8
commit
3fad4e3fe5
1
changelog.d/11332.misc
Normal file
1
changelog.d/11332.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Add type hints to storage classes.
|
16
mypy.ini
16
mypy.ini
@ -175,7 +175,16 @@ disallow_untyped_defs = True
|
|||||||
[mypy-synapse.state.*]
|
[mypy-synapse.state.*]
|
||||||
disallow_untyped_defs = True
|
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
|
disallow_untyped_defs = True
|
||||||
|
|
||||||
[mypy-synapse.streams.*]
|
[mypy-synapse.streams.*]
|
||||||
@ -268,7 +277,10 @@ disallow_untyped_defs = True
|
|||||||
[mypy-synapse.util.versionstring]
|
[mypy-synapse.util.versionstring]
|
||||||
disallow_untyped_defs = True
|
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
|
disallow_untyped_defs = True
|
||||||
|
|
||||||
[mypy-tests.rest.client.test_directory]
|
[mypy-tests.rest.client.test_directory]
|
||||||
|
Loading…
Reference in New Issue
Block a user