Skip to content

Commit

Permalink
More similarity index digits (#6343)
Browse files Browse the repository at this point in the history
**Summary** We were at similarity index 0.998 for django, we need more
decimal places, now we're at 0.99779.

**Test Plan** n/a
  • Loading branch information
konstin authored Aug 4, 2023
1 parent 4d47dfd commit 9bb2128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/ruff_dev/src/format_dev.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ pub(crate) fn main(args: &Args) -> anyhow::Result<ExitCode> {
}
info!(
parent: None,
"Done: {} stability errors, {} files, similarity index {:.3}), took {:.2}s, {} input files contained syntax errors ",
"Done: {} stability errors, {} files, similarity index {:.5}), took {:.2}s, {} input files contained syntax errors ",
error_count,
result.file_count,
result.statistics.similarity_index(),
Expand Down Expand Up @@ -313,7 +313,7 @@ fn format_dev_multi_project(args: &Args) -> anyhow::Result<bool> {

info!(
parent: None,
"Finished {}: {} stability errors, {} files, similarity index {:.3}), took {:.2}s, {} input files contained syntax errors ",
"Finished {}: {} stability errors, {} files, similarity index {:.5}), took {:.2}s, {} input files contained syntax errors ",
project_path.display(),
result.error_count(),
result.file_count,
Expand Down

0 comments on commit 9bb2128

Please sign in to comment.