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

Add missing type hints to config base classes #11377

Merged
merged 11 commits into from
Nov 23, 2021
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