diff --git a/scripts/audit_exception_handling.py b/scripts/audit_exception_handling.py index e11a33d5..14ad9a26 100644 --- a/scripts/audit_exception_handling.py +++ b/scripts/audit_exception_handling.py @@ -955,7 +955,6 @@ def render_json(reports: list[FileReport], files_scanned: int, top: int, verbose "category": f.category, } for f in r.findings - if f.category in VIOLATION_CATEGORIES or f.category in ("UNCLEAR", "INTERNAL_RETHROW") ], } for r in sorted(reports, key=lambda r: (-r.violation_count, -r.suspicious_count, r.filename))[:top if not verbose else len(reports)]