Skip to content

Commit

Permalink
ci: Type ignore comment waiting for fix in autorefs
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Feb 22, 2024
1 parent a7a2907 commit f553684
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
autorefs.get_fallback_anchor = self.handlers.get_anchors # type: ignore[assignment]

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

0 comments on commit f553684

Please sign in to comment.