Skip to content

Commit 549603f

Browse files
committed
wip
Signed-off-by: Joe Isaacs <[email protected]>
1 parent 098d5f4 commit 549603f

File tree

130 files changed

+211
-331
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+211
-331
lines changed

bench-vortex/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// SPDX-FileCopyrightText: Copyright the Vortex contributors
33

4-
#![expect(clippy::unwrap_used)]
5-
#![expect(clippy::expect_used)]
4+
#![allow(clippy::unwrap_used)]
5+
#![allow(clippy::expect_used)]
66
use std::env;
77
use std::path::PathBuf;
88

bench-vortex/src/benchmark_trait.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub trait Benchmark {
5050
fn generate_data(&self, target: &Target) -> Result<()>;
5151

5252
/// Register tables with the engine context
53-
#[allow(async_fn_in_trait)]
53+
#[expect(async_fn_in_trait)]
5454
async fn register_tables(&self, engine_ctx: &EngineCtx, format: Format) -> Result<()>;
5555

5656
/// Get the benchmark dataset identifier

bench-vortex/src/clickbench/clickbench_benchmark.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ impl Benchmark for ClickBenchBenchmark {
153153
}
154154
}
155155

156-
#[allow(async_fn_in_trait)]
157156
async fn register_tables(&self, engine_ctx: &EngineCtx, format: Format) -> Result<()> {
158157
let dataset = self.dataset();
159158

bench-vortex/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// SPDX-FileCopyrightText: Copyright the Vortex contributors
33

4-
#![expect(clippy::unwrap_used)]
5-
#![expect(clippy::expect_used)]
4+
#![allow(clippy::unwrap_used)]
5+
#![allow(clippy::expect_used)]
66

77
use std::clone::Clone;
88
use std::fmt::Display;

bench-vortex/src/statpopgen/builder.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ use vortex::utils::aliases::hash_set::HashSet;
1919

2020
use super::vcf_conversion::*;
2121

22-
#[allow(dead_code)]
23-
#[allow(non_snake_case)]
22+
#[expect(non_snake_case)]
2423
pub struct GnomADBuilder<'a> {
2524
/// The schema of the to-be-generated Parquet file.
2625
schema: SchemaRef,
@@ -231,7 +230,6 @@ impl InfoArrayBuilder {
231230
}
232231

233232
impl<'a> GnomADBuilder<'a> {
234-
#[allow(non_snake_case)]
235233
pub fn new(header: &'a Header, schema: SchemaRef) -> Self {
236234
let info_builder: HashMap<&'a str, InfoArrayBuilder> = header
237235
.infos()
@@ -264,7 +262,6 @@ impl<'a> GnomADBuilder<'a> {
264262
}
265263
}
266264

267-
#[expect(clippy::cognitive_complexity)]
268265
pub fn consume_record(&mut self, header: &Header, record: &mut Record) -> VortexResult<()> {
269266
self.CHROM_builder
270267
.append_value(record.reference_sequence_name());
@@ -352,7 +349,6 @@ impl<'a> GnomADBuilder<'a> {
352349
Ok(())
353350
}
354351

355-
#[expect(clippy::cognitive_complexity)]
356352
pub fn consume_info(&mut self, header: &Header, info: Info) -> VortexResult<()> {
357353
info.iter(header)
358354
.process_results(|iter| -> VortexResult<()> {
@@ -376,7 +372,6 @@ impl<'a> GnomADBuilder<'a> {
376372
})?
377373
}
378374

379-
#[expect(clippy::cognitive_complexity)]
380375
pub fn finish(mut self) -> Result<RecordBatch, ArrowError> {
381376
let len = self.CHROM_builder.len();
382377
assert_eq!(len, self.POS_builder.len());

bench-vortex/src/statpopgen/statpopgen_benchmark.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ impl Benchmark for StatPopGenBenchmark {
221221
}
222222
}
223223

224-
#[allow(async_fn_in_trait)]
225224
async fn register_tables(&self, engine_ctx: &EngineCtx, format: Format) -> Result<()> {
226225
let dataset = self.dataset();
227226

bench-vortex/src/tpch/tpch_benchmark.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,6 @@ impl Benchmark for TpcHBenchmark {
137137
}
138138
}
139139

140-
#[allow(async_fn_in_trait)]
141140
async fn register_tables(&self, engine_ctx: &EngineCtx, format: Format) -> Result<()> {
142141
let dataset = self.dataset();
143142

encodings/alp/benches/alp_compress.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// SPDX-FileCopyrightText: Copyright the Vortex contributors
33

4-
#![expect(clippy::unwrap_used)]
4+
#![allow(clippy::unwrap_used)]
55

66
use divan::Bencher;
77
use rand::rngs::StdRng;

encodings/alp/src/alp/compute/compare.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,15 +190,13 @@ mod tests {
190190
vec![1234; 1025]
191191
);
192192

193-
#[expect(clippy::excessive_precision)]
194193
let r_eq = alp_scalar_compare(&encoded, 1.234444_f32, Operator::Eq)
195194
.unwrap()
196195
.unwrap()
197196
.to_bool();
198197

199198
assert!(r_eq.bit_buffer().iter().all(|v| !v));
200199

201-
#[expect(clippy::excessive_precision)]
202200
let r_neq = alp_scalar_compare(&encoded, 1.234444f32, Operator::NotEq)
203201
.unwrap()
204202
.unwrap()

encodings/alp/src/alp_rd/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// SPDX-FileCopyrightText: Copyright the Vortex contributors
33

4-
#![expect(clippy::cast_possible_truncation)]
4+
#![allow(clippy::cast_possible_truncation)]
55

66
pub use array::*;
77
use vortex_array::IntoArray;

0 commit comments

Comments
 (0)