From c70043648ea9abcd007bebccb7cb0168d3b68601 Mon Sep 17 00:00:00 2001 From: Sh1nku <42642351+Sh1nku@users.noreply.github.com> Date: Fri, 1 Nov 2024 17:41:35 +0100 Subject: [PATCH] Fix pyright errors --- wrappers/python/tests/test_doctest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wrappers/python/tests/test_doctest.py b/wrappers/python/tests/test_doctest.py index 3040936..2941a0b 100644 --- a/wrappers/python/tests/test_doctest.py +++ b/wrappers/python/tests/test_doctest.py @@ -9,14 +9,14 @@ import mypy.api def find_mypy_config() -> Path: - solrstice_path = Path(solrstice.__path__[0]) + solrstice_path = Path(solrstice.__path__[0]) # type: ignore solrstice_parent = solrstice_path.parent if (solrstice_parent / "mypy.ini").exists(): return solrstice_parent / "mypy.ini" raise FileNotFoundError("Could not find mypy.ini") def get_doctests_from_solrstice() -> Dict[str, List[doctest.Example]]: - to_parse = [Path(solrstice.__path__[0])] + to_parse = [Path(solrstice.__path__[0])] # type: ignore doctest_parser = doctest.DocTestParser() doctest_examples = {} while to_parse: