From 9a82f098e89f5d91091de6ff247fd78ff2f5464c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 27 Feb 2026 21:21:14 +0000 Subject: [PATCH] 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> --- src/specify_cli/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/specify_cli/__init__.py b/src/specify_cli/__init__.py index b8756025..603fb06b 100644 --- a/src/specify_cli/__init__.py +++ b/src/specify_cli/__init__.py @@ -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 " + " Add to an approved catalog with install_allowed: true, " + "or use: specify extension add --from " ) console.print()