From 968e1b4e4a6fbd5a15037cdb11a3f9dee5108570 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Sat, 14 Nov 2026 18:44:23 +0100 Subject: docs(core): standardize reST docstrings Expand function and method documentation with consistent reST parameter, return, and exception fields while clarifying behavior where additional context is useful. Normalize test and migration docstrings to the same documentation conventions. --- tests/tasks/test_notifications.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests/tasks/test_notifications.py') diff --git a/tests/tasks/test_notifications.py b/tests/tasks/test_notifications.py index f87fd47..876c2b3 100644 --- a/tests/tasks/test_notifications.py +++ b/tests/tasks/test_notifications.py @@ -135,7 +135,11 @@ def test_digest_skips_when_no_new_mentions( def test_digest_lock_uses_current_backend( notifications: ModuleType, app: Flask ) -> None: - """A digest imported before reinitialization uses the new backend's lock.""" + """Verify that a previously imported digest uses the new backend lock. + + :param notifications: Digest notification module under test. + :param app: Configured Flask application fixture. + """ with app.app_context(): previous_backend = huey.huey huey.init_app(app) -- cgit v1.3.1