Enabled all Ruff lint rules and resolved findings.
CI / Formatting (push) Successful in 27s
CI / Linting (push) Successful in 9s
CI / Tests (push) Successful in 34s
CI / Type Checking (push) Successful in 7s
CI / Spelling (push) Successful in 7s

This commit is contained in:
2026-05-18 11:10:46 -04:00
parent 48a4fb9bbf
commit 795184cd17
11 changed files with 211 additions and 123 deletions
+4 -1
View File
@@ -101,7 +101,9 @@ class NotificationService:
return
# Build the notification message
body_text = self._format_message(name, title, domain, tags, title_change)
body_text = self._format_message(
name, title, domain, tags, title_change=title_change
)
# Send notifications to all subscribed rooms in parallel
successful, failed = await self._broadcast_to_rooms(domain, body_text)
@@ -223,6 +225,7 @@ class NotificationService:
title: str,
domain: str,
tags: Sequence[str],
*,
title_change: bool,
) -> str:
"""Format the notification message body.