diff --git a/mypy.ini b/mypy.ini index e669b00995..b379ee0e6d 100644 --- a/mypy.ini +++ b/mypy.ini @@ -226,9 +226,6 @@ ignore_missing_imports = True [mypy-josepy.*] ignore_missing_imports = True -[mypy-jsonschema] -ignore_missing_imports = True - [mypy-jwt.*] ignore_missing_imports = True 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.