summary refs log tree commit diff
path: root/tox.ini
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2021-03-19 15:10:08 +0000
committerGitHub <noreply@github.com>2021-03-19 15:10:08 +0000
commit9aa6276c8cc4c25fbbe9de024b351138ae181761 (patch)
tree91b1b3c2c61c734f6c8ebfd6658448e86a23f617 /tox.ini
parentChange knock room version to v7 (#88) (diff)
downloadsynapse-9aa6276c8cc4c25fbbe9de024b351138ae181761.tar.xz
Cap mypy tests at twisted==20.3.0 (#90)
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index db751b5b4c..adb0374f32 100644
--- a/tox.ini
+++ b/tox.ini
@@ -157,6 +157,9 @@ commands=
 [testenv:mypy]
 deps =
     {[base]deps}
+    # Type hints are broken with Twisted > 20.3.0, see https://github.com/matrix-org/synapse/issues/9513
+    # TODO: Remove after merging in the fixes from mainline
+    twisted==20.3.0
 extras = all,mypy
 commands = mypy