chore: git-hooks rustfmt and clippy

This commit is contained in:
Per Stark
2026-06-20 10:10:29 +02:00
parent 01ef1bcb7a
commit 09e545816e
29 changed files with 156 additions and 201 deletions
+2 -11
View File
@@ -26,12 +26,7 @@ pub async fn warm_evaluation(
config: &Config,
content_checksum: &str,
) -> Result<()> {
let _ctx = run_through_namespace(
dataset,
config,
Some(content_checksum.to_string()),
)
.await?;
let _ctx = run_through_namespace(dataset, config, Some(content_checksum.to_string())).await?;
Ok(())
}
@@ -40,11 +35,7 @@ pub async fn run_evaluation(
config: &Config,
content_checksum: Option<&str>,
) -> Result<EvaluationSummary> {
let mut ctx = EvaluationContext::new(
dataset,
config,
content_checksum.map(str::to_string),
);
let mut ctx = EvaluationContext::new(dataset, config, content_checksum.map(str::to_string));
stages::prepare_slice(&mut ctx).await?;
stages::prepare_db(&mut ctx).await?;
stages::prepare_corpus(&mut ctx).await?;