Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4801dba

Browse files
committedMar 15, 2025
Reformat code
1 parent e845318 commit 4801dba

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed
 

‎src/ci/citool/src/analysis.rs

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
use crate::metrics;
2-
use crate::metrics::{JobMetrics, JobName, get_test_suites};
3-
use crate::utils::{output_details, pluralize};
1+
use std::collections::{BTreeMap, HashMap, HashSet};
2+
43
use build_helper::metrics::{
54
BuildStep, JsonRoot, TestOutcome, TestSuite, TestSuiteMetadata, format_build_steps,
65
};
7-
use std::collections::{BTreeMap, HashMap, HashSet};
6+
7+
use crate::metrics;
8+
use crate::metrics::{JobMetrics, JobName, get_test_suites};
9+
use crate::utils::{output_details, pluralize};
810

911
pub fn output_bootstrap_stats(metrics: &JsonRoot) {
1012
if !metrics.invocations.is_empty() {

‎src/ci/citool/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ use std::collections::{BTreeMap, HashMap};
99
use std::path::{Path, PathBuf};
1010
use std::process::Command;
1111

12+
use analysis::output_bootstrap_stats;
1213
use anyhow::Context;
1314
use clap::Parser;
1415
use jobs::JobDatabase;
@@ -20,7 +21,6 @@ use crate::datadog::upload_datadog_metric;
2021
use crate::jobs::RunType;
2122
use crate::metrics::{JobMetrics, download_auto_job_metrics, download_job_metrics, load_metrics};
2223
use crate::utils::{load_env_var, output_details};
23-
use analysis::output_bootstrap_stats;
2424

2525
const CI_DIRECTORY: &str = concat!(env!("CARGO_MANIFEST_DIR"), "/..");
2626
const DOCKER_DIRECTORY: &str = concat!(env!("CARGO_MANIFEST_DIR"), "/../docker");

‎src/ci/citool/src/metrics.rs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
use std::collections::HashMap;
12
use std::path::Path;
23

3-
use crate::jobs::JobDatabase;
44
use anyhow::Context;
55
use build_helper::metrics::{JsonNode, JsonRoot, TestSuite};
6-
use std::collections::HashMap;
6+
7+
use crate::jobs::JobDatabase;
78

89
pub type JobName = String;
910

0 commit comments

Comments
 (0)
Failed to load comments.