From 07c27518fde4e18493e8a2a8ea766da25412bead Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bern=C3=A1t=20G=C3=A1bor?= Date: Mon, 7 Oct 2024 12:01:42 -0700 Subject: [PATCH] Fix the type checker (#493) --- src/sphinx_autodoc_typehints/patches.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sphinx_autodoc_typehints/patches.py b/src/sphinx_autodoc_typehints/patches.py index 2307f53..236b38d 100644 --- a/src/sphinx_autodoc_typehints/patches.py +++ b/src/sphinx_autodoc_typehints/patches.py @@ -129,7 +129,7 @@ def _patch_line_numbers() -> None: When the line numbers are missing, we have a hard time placing the :rtype:. """ Text.indent = _patched_text_indent - BaseAdmonition.run = _patched_base_admonition_run + BaseAdmonition.run = _patched_base_admonition_run # type: ignore[method-assign,assignment] Body.doctest = _patched_body_doctest