Skip to content

Commit

Permalink
ci: Fix type of the fallback callable
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Feb 23, 2024
1 parent 143d768 commit 9c29dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mkdocs_autorefs/plugin.py
Expand Up @@ -57,7 +57,7 @@ def __init__(self) -> None:
super().__init__()
self._url_map: dict[str, str] = {}
self._abs_url_map: dict[str, str] = {}
self.get_fallback_anchor: Callable[[str], str | None] | None = None
self.get_fallback_anchor: Callable[[str], tuple[str, ...]] | None = None

def register_anchor(self, page: str, identifier: str) -> None:
"""Register that an anchor corresponding to an identifier was encountered when rendering the page.
Expand Down

0 comments on commit 9c29dae

Please sign in to comment.