From 985a5a780fe1abe293d6469620dbac17b2ff197a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 1 Mar 2026 22:07:23 +0000 Subject: [PATCH] style: auto-fix ruff lint and format --- gtasks/tasks_tools.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/gtasks/tasks_tools.py b/gtasks/tasks_tools.py index 28cbaab..cc6d6bf 100644 --- a/gtasks/tasks_tools.py +++ b/gtasks/tasks_tools.py @@ -873,9 +873,7 @@ async def manage_task( allowed_statuses = {"needsAction", "completed"} if status is not None and status not in allowed_statuses: - raise UserInputError( - "invalid status: must be 'needsAction' or 'completed'" - ) + raise UserInputError("invalid status: must be 'needsAction' or 'completed'") valid_actions = ("create", "update", "delete", "move") if action not in valid_actions: @@ -901,9 +899,7 @@ async def manage_task( if action == "update": if status is not None and status not in allowed_statuses: - raise UserInputError( - "invalid status: must be 'needsAction' or 'completed'" - ) + raise UserInputError("invalid status: must be 'needsAction' or 'completed'") if not task_id: raise UserInputError("'task_id' is required for the 'update' action.") return await _update_task_impl(