Skip to content

Commit 03abbb1

Browse files
committed
Fix ruff linting errors: remove f-string prefix from strings without placeholders
1 parent a658341 commit 03abbb1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/specify_cli/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,15 +1259,15 @@ def init(
12591259
# Detect when option values are likely misinterpreted flags (parameter ordering issue)
12601260
if ai_assistant and ai_assistant.startswith("--"):
12611261
console.print(f"[red]Error:[/red] Invalid value for --ai: '{ai_assistant}'")
1262-
console.print(f"[yellow]Hint:[/yellow] Did you forget to provide a value for --ai?")
1263-
console.print(f"[yellow]Example:[/yellow] specify init --ai claude --here")
1262+
console.print("[yellow]Hint:[/yellow] Did you forget to provide a value for --ai?")
1263+
console.print("[yellow]Example:[/yellow] specify init --ai claude --here")
12641264
console.print(f"[yellow]Available agents:[/yellow] {', '.join(AGENT_CONFIG.keys())}")
12651265
raise typer.Exit(1)
12661266

12671267
if ai_commands_dir and ai_commands_dir.startswith("--"):
12681268
console.print(f"[red]Error:[/red] Invalid value for --ai-commands-dir: '{ai_commands_dir}'")
1269-
console.print(f"[yellow]Hint:[/yellow] Did you forget to provide a value for --ai-commands-dir?")
1270-
console.print(f"[yellow]Example:[/yellow] specify init --ai generic --ai-commands-dir .myagent/commands/")
1269+
console.print("[yellow]Hint:[/yellow] Did you forget to provide a value for --ai-commands-dir?")
1270+
console.print("[yellow]Example:[/yellow] specify init --ai generic --ai-commands-dir .myagent/commands/")
12711271
raise typer.Exit(1)
12721272

12731273
if project_name == ".":

0 commit comments

Comments
 (0)