fix: remove extraneous f-string prefixes (ruff F541)

Remove f-prefix from strings with no placeholders in catalog_remove
and extension_search commands.

Co-authored-by: mnriem <15701806+mnriem@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-27 21:21:14 +00:00
committed by Manfred Riem
parent 5c77268136
commit 9a82f098e8

View File

@@ -1970,7 +1970,7 @@ def catalog_remove(
config_path = specify_dir / "extension-catalogs.yml"
if not config_path.exists():
console.print(f"[red]Error:[/red] No catalog config found. Nothing to remove.")
console.print("[red]Error:[/red] No catalog config found. Nothing to remove.")
raise typer.Exit(1)
try:
@@ -2268,8 +2268,8 @@ def extension_search(
else:
console.print(f"\n [yellow]⚠[/yellow] Not directly installable from '{catalog_name}'.")
console.print(
f" Add to an approved catalog with install_allowed: true, "
f"or use: specify extension add --from <url>"
" Add to an approved catalog with install_allowed: true, "
"or use: specify extension add --from <url>"
)
console.print()