From 9bb21283cade3069ff8860477aff120b31492e90 Mon Sep 17 00:00:00 2001 From: konsti Date: Fri, 4 Aug 2023 17:12:33 +0200 Subject: [PATCH] More similarity index digits (#6343) **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 --- crates/ruff_dev/src/format_dev.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/ruff_dev/src/format_dev.rs b/crates/ruff_dev/src/format_dev.rs index 924ce7d2d3077..6b83fb57ed547 100644 --- a/crates/ruff_dev/src/format_dev.rs +++ b/crates/ruff_dev/src/format_dev.rs @@ -209,7 +209,7 @@ pub(crate) fn main(args: &Args) -> anyhow::Result { } 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(), @@ -313,7 +313,7 @@ fn format_dev_multi_project(args: &Args) -> anyhow::Result { 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,