mirror of
https://github.com/github/spec-kit.git
synced 2026-03-16 18:33:07 +00:00
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:
committed by
Manfred Riem
parent
5c77268136
commit
9a82f098e8
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user