summary refs log tree commit diff
path: root/setup.py
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2021-10-06 19:19:24 +0100
committerDavid Robertson <davidr@element.io>2021-10-06 19:22:26 +0100
commit05bd37099c8cd5ebdae19c1a2e6b937908f33e85 (patch)
tree8b25b2ea12e64eaa97f17dbe6050aed5c04f3d3f /setup.py
parentAlphabetise mypy `ignore-missing-imports` section (diff)
downloadsynapse-05bd37099c8cd5ebdae19c1a2e6b937908f33e85.tar.xz
typeshed has jsonschema stubs
since https://github.com/python/typeshed/pull/5784
Diffstat (limited to '')
-rwxr-xr-xsetup.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index c478563510..a35a42beb1 100755
--- a/setup.py
+++ b/setup.py
@@ -112,7 +112,12 @@ CONDITIONAL_REQUIREMENTS["dev"] = CONDITIONAL_REQUIREMENTS["lint"] + [
     "pygithub==1.55",
 ]
 
-CONDITIONAL_REQUIREMENTS["mypy"] = ["mypy==0.812", "mypy-zope==0.2.13"]
+CONDITIONAL_REQUIREMENTS["mypy"] = [
+    "mypy==0.812",
+    "mypy-zope==0.2.13",
+    "types-jsonschema>=3.2.0",
+
+]
 
 # Dependencies which are exclusively required by unit test code. This is
 # NOT a list of all modules that are necessary to run the unit tests.