We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9210a9 commit 18d7bb1Copy full SHA for 18d7bb1
crates/pet-reporter/src/json.rs
@@ -21,6 +21,12 @@ pub struct JsonReporter {
21
environments: Arc<Mutex<Vec<PythonEnvironment>>>,
22
}
23
24
+impl Default for JsonReporter {
25
+ fn default() -> Self {
26
+ Self::new()
27
+ }
28
+}
29
+
30
impl JsonReporter {
31
pub fn new() -> Self {
32
JsonReporter {
crates/pet/src/main.rs
@@ -37,6 +37,7 @@ enum Commands {
37
cache_directory: Option<PathBuf>,
38
39
/// Display verbose output (defaults to warnings).
40
+ /// Note: Has no effect when --json is used, as logging is disabled to avoid polluting JSON output.
41
#[arg(short, long)]
42
verbose: bool,
43
0 commit comments