Skip to content

Commit

Permalink
Fix the type checker (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaborbernat authored Oct 7, 2024
1 parent 70b7c4f commit 07c2751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sphinx_autodoc_typehints/patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 07c2751

Please sign in to comment.