ruff
[`pyupgrade`] Add `from __future__ import annotations` automatically (`UP006`)
#23260
Merged

[`pyupgrade`] Add `from __future__ import annotations` automatically (`UP006`) #23260

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

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone