From 51827839432d8f5e79415549a95ac797e9776c09 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 19 Feb 2026 22:08:51 +0000 Subject: [PATCH 1/2] Initial plan From 1c107ae69f90c2845e45c16ec82c33e206644676 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 19 Feb 2026 22:26:26 +0000 Subject: [PATCH 2/2] Fix Pyright reportMissingImports for sphinx_autodoc_typehints in conf.py files Co-authored-by: pmalarme <686568+pmalarme@users.noreply.github.com> --- agents/agent1/docs/source/conf.py | 2 +- docs/source/conf.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/agents/agent1/docs/source/conf.py b/agents/agent1/docs/source/conf.py index 9a5b180..9456205 100644 --- a/agents/agent1/docs/source/conf.py +++ b/agents/agent1/docs/source/conf.py @@ -76,7 +76,7 @@ def _get_project_version(default: str = "0.0.0") -> str: if tomllib is not None: # Only enable when the TOML parser (and therefore the extension's deps) is available. # Import is intentionally unused; it fails fast if the dependency stack is missing. - import sphinx_autodoc_typehints # noqa: F401 # pyright: ignore[reportUnusedImport] + import sphinx_autodoc_typehints # noqa: F401 # pyright: ignore[reportUnusedImport,reportMissingImports] extensions.append("sphinx_autodoc_typehints") except Exception: diff --git a/docs/source/conf.py b/docs/source/conf.py index 0d7f972..ffd8206 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -59,7 +59,7 @@ def _get_project_version(default: str = "0.0.0") -> str: if tomllib is not None: # Only enable when the TOML parser (and therefore the extension's deps) is available. # Import is intentionally unused; it fails fast if the dependency stack is missing. - import sphinx_autodoc_typehints # noqa: F401 # pyright: ignore[reportUnusedImport] + import sphinx_autodoc_typehints # noqa: F401 # pyright: ignore[reportUnusedImport,reportMissingImports] extensions.append("sphinx_autodoc_typehints") except Exception: