Skip to content

Commit 9bda459

Browse files
Fix double backtick in export-functions.py docstring (check-docstring-substrings)
Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/07093d4e-1e91-49fb-9686-b3e141b83d29 Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
1 parent a9019f1 commit 9bda459

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hooks/export-functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def _get_module_public_functions(path: Path) -> list[tuple[str, str | None]]:
144144

145145

146146
def _is_overload(node: ast.FunctionDef | ast.AsyncFunctionDef) -> bool:
147-
"""Return True if the function is decorated with ``@overload``."""
147+
"""Return True if the function is decorated with `@overload`."""
148148
return any(
149149
(isinstance(d, ast.Name) and d.id == "overload")
150150
or (isinstance(d, ast.Attribute) and d.attr == "overload")

0 commit comments

Comments
 (0)