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 514245a commit f8a5b61Copy full SHA for f8a5b61
docs/_scripts/macros.py
@@ -33,7 +33,7 @@ def _slugify(text: str) -> str:
33
# The type of the return value is not defined for the markdown library.
34
# Also for some reason `mypy` thinks the `toc` module doesn't have a
35
# `slugify_unicode` function, but it definitely does.
36
- return toc.slugify_unicode(text, "-") # type: ignore[attr-defined,no-any-return]
+ return toc.slugify_unicode(text, "-")
37
38
39
def _hook_macros_plugin(env: macros.MacrosPlugin) -> None:
0 commit comments