Fix CI workflow: Add tree-sitter CLI installation and fix linting errors
Some checks failed
CI / test (push) Has been cancelled
Some checks failed
CI / test (push) Has been cancelled
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
"""Report command for VibeGuard CLI."""
|
"""Report command for VibeGuard CLI."""
|
||||||
|
|
||||||
from pathlib import Path
|
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
import click
|
import click
|
||||||
@@ -22,7 +21,6 @@ def report(
|
|||||||
output_sarif: str | None,
|
output_sarif: str | None,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Generate reports from VibeGuard analysis results."""
|
"""Generate reports from VibeGuard analysis results."""
|
||||||
config = ctx["config"]
|
|
||||||
console = ctx["console"]
|
console = ctx["console"]
|
||||||
|
|
||||||
generator = ReportGenerator()
|
generator = ReportGenerator()
|
||||||
@@ -33,8 +31,6 @@ def report(
|
|||||||
return
|
return
|
||||||
|
|
||||||
if output_json:
|
if output_json:
|
||||||
import json
|
|
||||||
|
|
||||||
console.print_json(data=issues)
|
console.print_json(data=issues)
|
||||||
elif output_html:
|
elif output_html:
|
||||||
generator.generate_html(issues, output_html)
|
generator.generate_html(issues, output_html)
|
||||||
|
|||||||
Reference in New Issue
Block a user