Avatar for the astral-sh user
astral-sh
ruff
BlogDocsChangelog

[`ruff`] Add `non-empty-init-module` (`RUF067`)

#22143Merged
Comparing
brent/eim
(
1755a1f
) with
main
(
2ada8b6
)
CodSpeed Performance Gauge
0%
Untouched
30
Skipped
22

Benchmarks

22 total
colour_science
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
95.4 s*
multithreaded
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
1.4 s*
pydantic
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
10.6 s*
freqtrade
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
8 s*
altair
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
5.1 s*
pandas
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
63.4 s*
tanjun
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
2.5 s*
sympy
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
51.8 s*
static_frame
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
20.6 s*
attrs
crates/ruff_benchmark/benches/ty.rs::project::attrs::project
Skipped
428.2 ms*
hydra-zen
crates/ruff_benchmark/benches/ty.rs::project::hydra::project
Skipped
1.2 s*
DateType
crates/ruff_benchmark/benches/ty.rs::project::datetype::project
Skipped
231.2 ms*
ty_check_file[cold]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_cold
Skipped
131.2 ms*
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_tuple_assignments
Skipped
66.1 ms*
ty_micro[many_string_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_string_assignments
Skipped
80.3 ms*
ty_micro[complex_constrained_attributes_1]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_1
Skipped
68 ms*
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_tuple_implicit_instance_attributes
Skipped
67.8 ms*
ty_micro[many_enum_members]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members
Skipped
122 ms*
ty_micro[complex_constrained_attributes_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_2
Skipped
67.9 ms*
anyio
crates/ruff_benchmark/benches/ty.rs::project::anyio::project
Skipped
1.2 s*
ty_micro[complex_constrained_attributes_3]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_3
Skipped
71 ms*
ty_check_file[incremental]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_incremental
Skipped
6.2 ms*

Commits

Click on a commit to change the comparison range
Base
main
2ada8b6
+0.03%
allow assignment to __version__ and __dir__ functions
e42f5ef
2 months ago
by ntBre
+0.06%
Update crates/ruff_linter/src/rules/ruff/rules/non_empty_init_module.rs
78f538d
2 months ago
by ntBre
+0.06%
recode to RUF067
eb750ac
2 months ago
by ntBre
-0.05%
Merge branch 'main' into brent/eim
d27406e
2 months ago
by ntBre
-0.15%
improve rule documentation
1755a1f
2 months ago
by ntBre
© 2026 CodSpeed Technology
Home Terms Privacy Docs