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

[`pyflakes`] Flag annotated variable redeclarations as `F811` in preview mode

#24244Merged
Comparing
RenzoMXD:fix/f811-annotated-assignment-redefinition-preview
(
52d0546
) with
main
(
29bf84e
)
CodSpeed Performance Gauge
0%
Untouched
30
Skipped
28

Benchmarks

28 total
colour_science
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
59.4 s*
pandas
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
69.9 s*
altair
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
5.1 s*
tanjun
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
2.9 s*
static_frame
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
21.7 s*
sympy
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
63.1 s*
pydantic
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
7.4 s*
multithreaded
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
1.3 s*
freqtrade
crates/ruff_benchmark/benches/ty_walltime.rs
Skipped
7.9 s*
hydra-zen
crates/ruff_benchmark/benches/ty.rs::project::hydra::project
Skipped
1.1 s*
DateType
crates/ruff_benchmark/benches/ty.rs::project::datetype::project
Skipped
223.8 ms*
attrs
crates/ruff_benchmark/benches/ty.rs::project::attrs::project
Skipped
474.7 ms*
ty_check_file[incremental]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_incremental
Skipped
8.1 ms*
ty_micro[complex_constrained_attributes_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_2
Skipped
71 ms*
ty_micro[very_large_tuple]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_very_large_tuple
Skipped
73.1 ms*
ty_micro[complex_constrained_attributes_3]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_3
Skipped
77.4 ms*
ty_check_file[cold]
crates/ruff_benchmark/benches/ty.rs::check_file::benchmark_cold
Skipped
152.2 ms*
ty_micro[many_tuple_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_tuple_assignments
Skipped
68.8 ms*
ty_micro[many_string_assignments]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_string_assignments
Skipped
81.5 ms*
ty_micro[large_union_narrowing]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_large_union_narrowing
Skipped
501.3 ms*
ty_micro[complex_constrained_attributes_1]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_complex_constrained_attributes_1
Skipped
71.2 ms*
ty_micro[large_isinstance_narrowing]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_large_isinstance_narrowing
Skipped
145.9 ms*
ty_micro[typeis_narrowing]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_typeis_narrowing
Skipped
173.6 ms*
ty_micro[many_enum_members]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members
Skipped
94.6 ms*
ty_micro[many_enum_members_2]
crates/ruff_benchmark/benches/ty.rs::micro::benchmark_many_enum_members_2
Skipped
173.5 ms*

Commits

Click on a commit to change the comparison range
Base
main
29bf84e
+0.09%
snapshot
cc4f43c
4 months ago
by dylwil3
0%
Merge branch 'astral-sh:main' into fix/f811-annotated-assignment-redefinition-preview
92779fb
4 months ago
by RenzoMXD
+0.01%
document preview behavior in F811 doc-comment
52d0546
4 months ago
by RenzoMXD
© 2026 CodSpeed Technology
Home Terms Privacy Docs