Fix linter errors in CLI and tests
Some checks failed
CI / Lint (push) Successful in 6s
CI / Type Check (push) Successful in 20s
CI / Test (push) Failing after 37s
CI / Release (push) Has been skipped

This commit is contained in:
2026-01-29 22:00:59 +00:00
parent 7e8943ac57
commit 45a8f11650
3 changed files with 3 additions and 6 deletions

View File

@@ -255,7 +255,7 @@ def export_report_cmd(
"[red]Error:[/red] Report generation requires additional dependencies.\n"
"Install with: [cyan]pip install py_dvt_ate[reports][/cyan]"
)
raise typer.Exit(1)
raise typer.Exit(1) from None
# Load config
if config_file is None:
@@ -295,7 +295,7 @@ def export_report_cmd(
full_run_id = UUID(run_id)
except ValueError:
console.print(f"[red]Error:[/red] Invalid run ID: '{run_id}'")
raise typer.Exit(1)
raise typer.Exit(1) from None
# Create report config
report_config = ReportConfig(
@@ -324,7 +324,7 @@ def export_report_cmd(
raise
except Exception as e:
console.print(f"[red]Error generating report:[/red] {e}")
raise typer.Exit(1)
raise typer.Exit(1) from None
finally:
repo.close()