We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 367678f commit 7176be2Copy full SHA for 7176be2
1 file changed
codesectools/sasts/all/cli.py
@@ -230,6 +230,7 @@ def report(
230
) -> None:
231
"""Generate an HTML report for a project's aggregated analysis results."""
232
from rich.console import Console
233
+ from rich.progress import track
234
from rich.style import Style
235
from rich.syntax import Syntax
236
from rich.table import Table
@@ -301,7 +302,10 @@ def report(
301
302
main_table = Table(title="")
303
main_table.add_column("Files (sorted by defect number)")
304
- for defect_data in report_data["defects"].values():
305
+ for defect_data in track(
306
+ report_data["defects"].values(),
307
+ description="Generating report for source file with defects...",
308
+ ):
309
defect_report_name = (
310
f"{sha256(defect_data['source_path'].encode()).hexdigest()}.html"
311
)
0 commit comments