Skip to content

Commit

Permalink
ci: Remove type ignore comment now that it's fixed in autorefs
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Feb 27, 2024
1 parent 89f752a commit c161d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mkdocstrings/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def on_config(self, config: MkDocsConfig) -> MkDocsConfig | None:
config.plugins["autorefs"] = autorefs
log.debug(f"Added a subdued autorefs instance {autorefs!r}")
# Add collector-based fallback in either case.
autorefs.get_fallback_anchor = self.handlers.get_anchors # type: ignore[assignment]
autorefs.get_fallback_anchor = self.handlers.get_anchors

mkdocstrings_extension = MkdocstringsExtension(extension_config, self.handlers, autorefs)
config.markdown_extensions.append(mkdocstrings_extension) # type: ignore[arg-type]
Expand Down

0 comments on commit c161d26

Please sign in to comment.