From 809c5c692f591b71102ad7024750077d2b5f5e82 Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Tue, 14 Nov 2023 18:09:51 -0800 Subject: [PATCH] Resolve issue with type checking in 3rd party referencing.jsonschema. Since this is a third party library, ignore the error that mypy gives: ... referencing/jsonschema.py:426: error: Invalid "type: ignore" comment [syntax] --- mypy.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mypy.ini b/mypy.ini index 2365df6b5b..68e6836734 100644 --- a/mypy.ini +++ b/mypy.ini @@ -56,3 +56,8 @@ ignore_missing_imports = True [mypy-update_checker] ignore_missing_imports = True + +# Added to resolve an issue with mypy in CI: +# ... python3.8/site-packages/referencing/jsonschema.py:426: error: Invalid "type: ignore" comment [syntax] +[mypy-referencing.jsonschema] +follow_imports = skip