summary refs log tree commit diff
path: root/mypy.ini
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-08-27 16:33:41 +0100
committerGitHub <noreply@github.com>2021-08-27 16:33:41 +0100
commit8f98260552f4f39f003bc1fbf6da159d9138081d (patch)
tree3fb24a74ea931a454f77e2414610a7a5b506823b /mypy.ini
parentUpdate changelog (diff)
downloadsynapse-8f98260552f4f39f003bc1fbf6da159d9138081d.tar.xz
Fix incompatibility with Twisted < 21. (#10713)
Turns out that the functionality added in #10546 to skip TLS was incompatible
with older Twisted versions, so we need to be a bit more inventive.

Also, add a test to (hopefully) not break this in future. Sadly, testing TLS is
really hard.
Diffstat (limited to 'mypy.ini')
-rw-r--r--mypy.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/mypy.ini b/mypy.ini
index e1b9405daa..349efe37bb 100644
--- a/mypy.ini
+++ b/mypy.ini
@@ -87,6 +87,7 @@ files =
   tests/test_utils,
   tests/handlers/test_password_providers.py,
   tests/handlers/test_room_summary.py,
+  tests/handlers/test_send_email.py,
   tests/rest/client/v1/test_login.py,
   tests/rest/client/v2_alpha/test_auth.py,
   tests/util/test_itertools.py,