This commit is contained in:
@@ -58,7 +58,6 @@ class TableFormatter(Formatter):
|
||||
lines.append("SEVERITY SUMMARY:")
|
||||
for severity, count in summary["severity_breakdown"].items():
|
||||
if count > 0:
|
||||
color = SEVERITY_COLORS.get(severity, "grey")
|
||||
lines.append(f" {severity.upper()}: {count}")
|
||||
|
||||
lines.append("")
|
||||
@@ -67,8 +66,6 @@ class TableFormatter(Formatter):
|
||||
return "\n".join(lines)
|
||||
|
||||
def _render_table(self, table: Table) -> str:
|
||||
from io import StringIO
|
||||
output = StringIO()
|
||||
self.console.begin_capture()
|
||||
self.console.print(table)
|
||||
captured = self.console.end_capture()
|
||||
|
||||
Reference in New Issue
Block a user