We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e657fae commit bb12076Copy full SHA for bb12076
src/llm_authz_audit/output/console.py
@@ -2,6 +2,7 @@
2
3
from __future__ import annotations
4
5
+import io
6
from collections import defaultdict
7
8
from rich.console import Console
@@ -39,7 +40,7 @@ def _section_box(title: str) -> Panel:
39
40
41
class ConsoleFormatter(BaseFormatter):
42
def format(self, result: ScanResult) -> str:
- console = Console(record=True, width=120)
43
+ console = Console(record=True, width=120, file=io.StringIO())
44
45
# ── Findings ──
46
if not result.findings:
0 commit comments