diff options
author | David Robertson <davidr@element.io> | 2021-11-12 15:50:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-12 15:50:54 +0000 |
commit | 4c96ce396e900a94af66ec070af925881b6e1e24 (patch) | |
tree | 446920e10d66c2ace553a68541ed64e0fbd543e1 /changelog.d | |
parent | Generalize the disallowed_untyped_defs in mypy.ini (#11322) (diff) | |
download | synapse-4c96ce396e900a94af66ec070af925881b6e1e24.tar.xz |
Misc typing fixes for `tests`, part 1 of N (#11323)
* Annotate HomeserverTestCase.servlets * Correct annotation of federation_auth_origin * Use AnyStr custom_headers instead of a Union This allows (str, str) and (bytes, bytes). This disallows (str, bytes) and (bytes, str) * DomainSpecificString.SIGIL is a ClassVar
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/11323.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/11323.misc b/changelog.d/11323.misc new file mode 100644 index 0000000000..54f39e1844 --- /dev/null +++ b/changelog.d/11323.misc @@ -0,0 +1 @@ +Improve type annotations in Synapse's test suite. \ No newline at end of file |