[`pyupgrade`] Add `from __future__ import annotations` automatically (`UP006`) #23260
11happy
changed the title Import annotation for up006 [ruff] Add import annotation for UP006 172 days ago
ntBre
requested changes
on 2026-02-20
remove dependency of FA100 from UP006
fd8c3831
update FA100 snaps
2c5ccb2f
add snapshot
458155a0
update a prev snap
df040588
make it preview
b5b53ebf
11happy
force pushed
from
b1a99c8e
to
b5b53ebf
152 days ago
fix preview
ffadbdef
Delete crates/ruff_linter/src/rules/pyupgrade/snapshots/ruff_linter__…
8463ef19
add preview snap
2deeb209
Merge remote-tracking branch 'refs/remotes/origin/import_annotation_f…
b7b1f5c5
correct preview check
7a21759c
revert prev snap
a6bd8da8
ntBre
dismissed these changes
on 2026-03-06
simplify
069164a9
Delete crates/ruff_linter/src/rules/pyupgrade/snapshots/ruff_linter__…
2d85f508
fixes
21b4bf16
simplify tests
de70f364
tidy imports
cb4b8881
fix missing version check
f9a43d20
add preview note to docs
0bf4a22f
ntBre
changed the title [ruff] Add import annotation for UP006 [`pyupgrade`] Add `from __future__ import annotations` automatically (`UP006`) 147 days ago
ntBre
dismissed their stale review
147 days ago
amyreese
approved these changes
on 2026-03-10
ntBre
merged
7d540687
into main 146 days ago
Assignees
No one assigned