Skip to content

Commit 07c2751

Browse files
authored
Fix the type checker (#493)
1 parent 70b7c4f commit 07c2751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sphinx_autodoc_typehints/patches.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def _patch_line_numbers() -> None:
129129
When the line numbers are missing, we have a hard time placing the :rtype:.
130130
"""
131131
Text.indent = _patched_text_indent
132-
BaseAdmonition.run = _patched_base_admonition_run
132+
BaseAdmonition.run = _patched_base_admonition_run # type: ignore[method-assign,assignment]
133133
Body.doctest = _patched_body_doctest
134134

135135

0 commit comments

Comments
 (0)