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_extension.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/tasks/test_extension.py') diff --git a/tests/tasks/test_extension.py b/tests/tasks/test_extension.py index 312696d..323353e 100644 --- a/tests/tasks/test_extension.py +++ b/tests/tasks/test_extension.py @@ -96,7 +96,10 @@ def test_task_raises_without_app(app: Flask, periodic: bool) -> None: @pytest.mark.parametrize("periodic", [False, True], ids=["task", "periodic-task"]) def test_task_declaration_before_init_and_rebind_after_init(periodic: bool) -> None: - """Imported task handles do not capture the first application backend.""" + """Verify that imported tasks switch to the latest application backend. + + :param periodic: Pytest fixture providing the periodic-task test function. + """ queue = Huey() observed_apps: list[str] = [] -- cgit v1.3.1