style: auto-fix ruff lint and format

This commit is contained in:
github-actions[bot]
2026-03-01 22:07:23 +00:00
parent ce296ded29
commit 985a5a780f

View File

@@ -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(