diff --git a/src/nl2gherkin/cli/interactive.py b/src/nl2gherkin/cli/interactive.py index 08dab88..dc08b9f 100644 --- a/src/nl2gherkin/cli/interactive.py +++ b/src/nl2gherkin/cli/interactive.py @@ -1,6 +1,4 @@ - """Interactive mode for the NL2Gherkin CLI.""" - -from typing import List +"""Interactive mode for the NL2Gherkin CLI.""" import click @@ -21,8 +19,8 @@ def run_interactive_session(exporter: BaseExporter) -> None: parser = GherkinParser() generator = GherkinGenerator(parser) - history: List[dict] = [] - generated_scenarios: List[str] = [] + history: list[dict] = [] + generated_scenarios: list[str] = [] click.echo("\n[NL2Gherkin Interactive Mode]") click.echo("Enter your requirements (press Ctrl+C to exit)") @@ -95,7 +93,7 @@ def run_interactive_session(exporter: BaseExporter) -> None: ambiguities = analyzer.analyze_ambiguity(requirement) if ambiguities: - click.echo(_colorize("[WARNING] Potential ambiguities:", "yellow")) + click.echo(_colorize("\n[WARNING] Potential ambiguities:", "yellow")) for amb in ambiguities: click.echo(f" - {amb.message}") if amb.suggestion: