We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38fa9c1 commit 995fb70Copy full SHA for 995fb70
docs/_scripts/macros.py
@@ -30,7 +30,7 @@ def _slugify(text: str) -> str:
30
# The type of the return value is not defined for the markdown library.
31
# Also for some reason `mypy` thinks the `toc` module doesn't have a
32
# `slugify_unicode` function, but it definitely does.
33
- return toc.slugify_unicode(text, "-") # type: ignore[attr-defined,no-any-return]
+ return toc.slugify_unicode(text, "-")
34
35
36
def _hook_macros_plugin(env: macros.MacrosPlugin) -> None:
0 commit comments