Skip to content

Commit 9a82f09

Browse files
Copilotmnriem
andcommitted
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>
1 parent 5c77268 commit 9a82f09

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/specify_cli/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1970,7 +1970,7 @@ def catalog_remove(
19701970

19711971
config_path = specify_dir / "extension-catalogs.yml"
19721972
if not config_path.exists():
1973-
console.print(f"[red]Error:[/red] No catalog config found. Nothing to remove.")
1973+
console.print("[red]Error:[/red] No catalog config found. Nothing to remove.")
19741974
raise typer.Exit(1)
19751975

19761976
try:
@@ -2268,8 +2268,8 @@ def extension_search(
22682268
else:
22692269
console.print(f"\n [yellow]⚠[/yellow] Not directly installable from '{catalog_name}'.")
22702270
console.print(
2271-
f" Add to an approved catalog with install_allowed: true, "
2272-
f"or use: specify extension add --from <url>"
2271+
" Add to an approved catalog with install_allowed: true, "
2272+
"or use: specify extension add --from <url>"
22732273
)
22742274
console.print()
22752275

0 commit comments

Comments
 (0)