Skip to content

Commit 7279f1d

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 ece831e commit 7279f1d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/specify_cli/__init__.py

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

19191919
config_path = specify_dir / "extension-catalogs.yml"
19201920
if not config_path.exists():
1921-
console.print(f"[red]Error:[/red] No catalog config found. Nothing to remove.")
1921+
console.print("[red]Error:[/red] No catalog config found. Nothing to remove.")
19221922
raise typer.Exit(1)
19231923

19241924
try:
@@ -2216,8 +2216,8 @@ def extension_search(
22162216
else:
22172217
console.print(f"\n [yellow]⚠[/yellow] Not directly installable from '{catalog_name}'.")
22182218
console.print(
2219-
f" Add to an approved catalog with install_allowed: true, "
2220-
f"or use: specify extension add --from <url>"
2219+
" Add to an approved catalog with install_allowed: true, "
2220+
"or use: specify extension add --from <url>"
22212221
)
22222222
console.print()
22232223

0 commit comments

Comments
 (0)