From 9aa6276c8cc4c25fbbe9de024b351138ae181761 Mon Sep 17 00:00:00 2001 From: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> Date: Fri, 19 Mar 2021 15:10:08 +0000 Subject: [PATCH] Cap mypy tests at twisted==20.3.0 (#90) --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) 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