mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Generalize the disallowed_untyped_defs in mypy.ini (#11322)
This commit is contained in:
parent
b64b6d12d4
commit
95547e5300
1
changelog.d/11322.misc
Normal file
1
changelog.d/11322.misc
Normal file
@ -0,0 +1 @@
|
||||
Add type hints to storage classes.
|
16
mypy.ini
16
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
|
||||
|
Loading…
Reference in New Issue
Block a user