From fd61299d8a4d54836f0aa082aa47d02a786c7d93 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Fri, 13 Nov 2026 18:02:49 +0100 Subject: chore(core): enforce Ruff docstring spacing Enable additional Ruff docstring checks for summary separation and closing quotes, then normalize migration and application docstrings to satisfy the new rules. --- webmentions_ssg/tasks/mentions.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'webmentions_ssg/tasks/mentions.py') diff --git a/webmentions_ssg/tasks/mentions.py b/webmentions_ssg/tasks/mentions.py index 687ba38..8f41902 100644 --- a/webmentions_ssg/tasks/mentions.py +++ b/webmentions_ssg/tasks/mentions.py @@ -57,8 +57,9 @@ def html_mentions_target(body: bytes, source_url: str, target_url: str) -> bool: def text_mentions_target(body: str, target_url: str) -> bool: - """Check whether plain text contains the target IRI, ignoring trailing prose - punctuation but not extra URL path or query characters. + """Check whether plain text contains the target IRI. + + Ignore trailing prose punctuation, but not extra URL path or query characters. :param body: Plain-text document body. :param target_url: Exact IRI to look for. -- cgit v1.3.1