From 7b53bf7533a000f6f271555b16cb0996d73d11cd Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sat, 31 Jan 2026 06:07:09 +0000 Subject: [PATCH] fix: resolve CI/CD issues - fixed linting and type errors --- shell_speak/output.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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}[/]")