From d1ccf5919a6838486e585022725336fd7e81ff79 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Fri, 6 Feb 2026 01:26:33 +0000 Subject: [PATCH] fix: resolve CI/CD issues and linting errors --- regex_humanizer/cli.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/regex_humanizer/cli.py b/regex_humanizer/cli.py index e161842..4b0424f 100644 --- a/regex_humanizer/cli.py +++ b/regex_humanizer/cli.py @@ -1,13 +1,11 @@ -"""Command-line interface for Regex Humanizer.""" - import json import sys -from typing import Optional + import click from .parser import parse_regex from .translator import translate_regex from .test_generator import generate_test_cases -from .flavors import get_flavor_manager, get_available_flavors +from .flavors import get_flavor_manager from .interactive import start_interactive_mode @@ -194,7 +192,7 @@ def validate(ctx: click.Context, pattern: str, flavor: str): click.echo(f"AST node count: {len(get_all_nodes(ast))}") except Exception as e: click.echo(f"\nPattern: {pattern}") - click.echo(f"Validation: FAILED") + click.echo("Validation: FAILED") click.echo(f"Error: {e}") sys.exit(1)