Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Generalize the disallowed_untyped_defs in mypy.ini #11322

Merged
merged 3 commits into from
Nov 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/11322.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add type hints to storage classes.
16 changes: 2 additions & 14 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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.*]
Expand Down Expand Up @@ -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
Expand Down