Skip to content

Commit 77610f8

Browse files
mjunaidcaclaude
andcommitted
style(cli): apply ruff formatting
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 640beaa commit 77610f8

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

packages/cli/src/taskflow/commands/init_cmd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,5 @@ def init(
9191
console.print(f" Default user: [cyan]{user_id}[/cyan]")
9292
console.print()
9393
console.print("[dim]Quick start:[/dim]")
94-
console.print(" taskflow add \"My first task\"")
94+
console.print(' taskflow add "My first task"')
9595
console.print(" taskflow list")

packages/cli/src/taskflow/commands/task.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,7 @@ def add_task(
112112
if created_by is None:
113113
creator = get_current_user(storage)
114114
if creator is None:
115-
console.print(
116-
"[red]Error: No current user set. Run 'taskflow worker add' first.[/red]"
117-
)
115+
console.print("[red]Error: No current user set. Run 'taskflow worker add' first.[/red]")
118116
raise typer.Exit(1)
119117
else:
120118
creator = created_by
@@ -257,9 +255,7 @@ def add_subtask(
257255
if created_by is None:
258256
creator = get_current_user(storage)
259257
if creator is None:
260-
console.print(
261-
"[red]Error: No current user set. Run 'taskflow worker add' first.[/red]"
262-
)
258+
console.print("[red]Error: No current user set. Run 'taskflow worker add' first.[/red]")
263259
raise typer.Exit(1)
264260
else:
265261
creator = created_by

0 commit comments

Comments
 (0)