diff options
| author | Dennis Fink | 2026-11-13 18:02:49 +0100 |
|---|---|---|
| committer | Dennis Fink | 2026-11-13 18:02:49 +0100 |
| commit | fd61299d8a4d54836f0aa082aa47d02a786c7d93 (patch) | |
| tree | cbc2c20ca651ac45822aa64338a3cf27a43b2cda /webmentions_ssg/tasks/mentions.py | |
| parent | 177186a0952d51fc41f51e09a1ac8e60fdb26bd8 (diff) | |
| download | webmentions-ssg-fd61299d8a4d54836f0aa082aa47d02a786c7d93.tar.gz webmentions-ssg-fd61299d8a4d54836f0aa082aa47d02a786c7d93.zip | |
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.
Diffstat (limited to 'webmentions_ssg/tasks/mentions.py')
| -rw-r--r-- | webmentions_ssg/tasks/mentions.py | 5 |
1 files changed, 3 insertions, 2 deletions
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. |
