diff --git a/shell_speak/output.py b/shell_speak/output.py index 05c9a53..922fc60 100644 --- a/shell_speak/output.py +++ b/shell_speak/output.py @@ -1,7 +1,5 @@ """Output formatting with Rich.""" -from typing import Optional - from rich.console import Console from rich.panel import Panel from rich.syntax import Syntax @@ -11,7 +9,6 @@ from rich.theme import Theme from shell_speak.models import CommandMatch, HistoryEntry from shell_speak.nlp import tokenize - custom_theme = Theme({ "command": "bold cyan", "keyword": "bold green", @@ -103,7 +100,7 @@ def display_suggestions(suggestions: list[str]) -> None: def display_learn_success(query: str, command: str) -> None: """Display confirmation of learning.""" - console.print(f"[success]Learned new command:[/]") + console.print("[success]Learned new command:[/]") console.print(f" Query: {query}") console.print(f" [command]{command}[/]")