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

Commit

Permalink
Generalize the disallowed_untyped_defs in mypy.ini (#11322)
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Nov 12, 2021
1 parent b64b6d1 commit 95547e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
1 change: 1 addition & 0 deletions changelog.d/11322.misc
@@ -0,0 +1 @@
Add type hints to storage classes.
16 changes: 2 additions & 14 deletions mypy.ini
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

0 comments on commit 95547e5

Please sign in to comment.