[tool.pyright] venvPath = "." venv = ".venv" extraPaths = [".", "backend/src"] pythonVersion = "3.12" include = ["bench", "backend/src"] [tool.mypy] python_executable = ".venv/bin/python" mypy_path = "." python_version = "3.12" files = ["bench", "backend/src"] # bench/corpus is downloaded third-party data (git clones), not our source. exclude = "bench/corpus/" [[tool.mypy.overrides]] module = "pyarrow.*" ignore_missing_imports = true [[tool.mypy.overrides]] module = [ "rapidocr_onnxruntime.*", "cv2.*", "rank_bm25", "sentence_transformers.*", "onnxruntime.*", "fitz.*", ] ignore_missing_imports = true