summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2021-03-29 14:42:38 +0100
committerGitHub <noreply@github.com>2021-03-29 14:42:38 +0100
commit5fdff977195dd8a9821f75c451a2a765a9f198f7 (patch)
tree8201402a46ef3cce27127f56beac8f5bde8d01d5
parentFix `re.Pattern` mypy error on 3.6 (#9703) (diff)
downloadsynapse-5fdff977195dd8a9821f75c451a2a765a9f198f7.tar.xz
Fix CI by ignore type for None module import (#9709)
Diffstat (limited to '')
-rw-r--r--changelog.d/9709.misc1
-rw-r--r--tests/replication/_base.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/9709.misc b/changelog.d/9709.misc
new file mode 100644
index 0000000000..10542fdf38
--- /dev/null
+++ b/changelog.d/9709.misc
@@ -0,0 +1 @@
+Fix type-checking CI on develop.
\ No newline at end of file
diff --git a/tests/replication/_base.py b/tests/replication/_base.py
index 67b7913666..1d4a592862 100644
--- a/tests/replication/_base.py
+++ b/tests/replication/_base.py
@@ -44,7 +44,7 @@ from tests.server import FakeTransport
 try:
     import hiredis
 except ImportError:
-    hiredis = None
+    hiredis = None  # type: ignore
 
 logger = logging.getLogger(__name__)