zerum 0.4.0

Deterministic Python code governance: ~75 checks, default/strict profiles, explain mode, optional Ruff orchestration
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::core::Issue;
use crate::reporters::Reporter;
use anyhow::Result;

pub struct JsonReporter;

impl Reporter for JsonReporter {
    fn report(&self, issues: &[Issue]) -> Result<String> {
        Ok(serde_json::to_string_pretty(issues)?)
    }
}