zerum 0.2.0

Deterministic-first Python code governance: ~75 native checks (ZR001–ZR510), explain mode, human/JSON CLI
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)?)
    }
}