Skip to content

Commit f8a5b61

Browse files
committed
Fix CI complaining about unused comment
Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent 514245a commit f8a5b61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_scripts/macros.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def _slugify(text: str) -> str:
3333
# The type of the return value is not defined for the markdown library.
3434
# Also for some reason `mypy` thinks the `toc` module doesn't have a
3535
# `slugify_unicode` function, but it definitely does.
36-
return toc.slugify_unicode(text, "-") # type: ignore[attr-defined,no-any-return]
36+
return toc.slugify_unicode(text, "-")
3737

3838

3939
def _hook_macros_plugin(env: macros.MacrosPlugin) -> None:

0 commit comments

Comments
 (0)