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

Commit 55669bd

Browse files
authored
Add missing type hints to config base classes (#11377)
1 parent 7cebaf9 commit 55669bd

File tree

13 files changed

+184
-109
lines changed

13 files changed

+184
-109
lines changed

changelog.d/11377.bugfix

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix a bug introduced in v1.45.0 where the `read_templates` method of the module API would error.

changelog.d/11377.misc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add type hints to configuration classes.

mypy.ini

+3
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ disallow_untyped_defs = True
151151
[mypy-synapse.app.*]
152152
disallow_untyped_defs = True
153153

154+
[mypy-synapse.config._base]
155+
disallow_untyped_defs = True
156+
154157
[mypy-synapse.crypto.*]
155158
disallow_untyped_defs = True
156159

0 commit comments

Comments
 (0)