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

Commit

Permalink
Add missing type hints to config base classes (#11377)
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep authored Nov 23, 2021
1 parent 7cebaf9 commit 55669bd
Show file tree
Hide file tree
Showing 13 changed files with 184 additions and 109 deletions.
1 change: 1 addition & 0 deletions changelog.d/11377.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix a bug introduced in v1.45.0 where the `read_templates` method of the module API would error.
1 change: 1 addition & 0 deletions changelog.d/11377.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add type hints to configuration classes.
3 changes: 3 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ disallow_untyped_defs = True
[mypy-synapse.app.*]
disallow_untyped_defs = True

[mypy-synapse.config._base]
disallow_untyped_defs = True

[mypy-synapse.crypto.*]
disallow_untyped_defs = True

Expand Down
Loading

0 comments on commit 55669bd

Please sign in to comment.