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

[`pylint`] Exempt required imports from `PLR0402`

#20381Merged
Comparing
danparizher:fix-20380
(
a15747c
) with
main
(
00a9e65
)
CodSpeed Performance Gauge
0%
Untouched
30
Skipped
13

Benchmarks

13 total
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_tuple_assignments
Skipped
62.4 ms*
ty_micro[complex_constrained_attributes_1]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_1
Skipped
63.8 ms*
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_tuple_implicit_instance_attributes
Skipped
63.6 ms*
anyio
crates/ruff_benchmark/benches/ty.rs::project::anyio::project
Skipped
850.9 ms*
hydra-zen
crates/ruff_benchmark/benches/ty.rs::project::hydra::project
Skipped
789.2 ms*
DateType
crates/ruff_benchmark/benches/ty.rs::project::datetype::project
Skipped
225.6 ms*
attrs
crates/ruff_benchmark/benches/ty.rs::project::attrs::project
Skipped
387.5 ms*
ty_micro[many_enum_members]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members
Skipped
95.5 ms*
ty_check_file[cold]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_cold
Skipped
120.2 ms*
ty_check_file[incremental]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_incremental
Skipped
4.9 ms*
ty_micro[complex_constrained_attributes_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_2
Skipped
63.8 ms*
ty_micro[many_string_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_string_assignments
Skipped
73.2 ms*
ty_micro[complex_constrained_attributes_3]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_3
Skipped
67.1 ms*

Commits

Click on a commit to change the comparison range
Base
main
00a9e65
+0.02%
fix-20380
02fa67d
10 months ago
by danparizher
0%
cargo fmt
cc06078
10 months ago
by danparizher
+0.13%
implement feedback
cc37505
10 months ago
by danparizher
0%
remove extra test
bf0aadc
10 months ago
by danparizher
-0.13%
compare qualified names directly
a15747c
10 months ago
by danparizher
© 2026 CodSpeed Technology
Home Terms Privacy Docs