Skip to content

[ruff] add import annotations for UP007 & UP045#23259

Open
11happy wants to merge 4 commits intoastral-sh:mainfrom
11happy:import_annotation_for_UP007_and_UP045
Open

[ruff] add import annotations for UP007 & UP045#23259
11happy wants to merge 4 commits intoastral-sh:mainfrom
11happy:import_annotation_for_UP007_and_UP045

Conversation

@11happy
Copy link
Copy Markdown
Contributor

@11happy 11happy commented Feb 13, 2026

Summary

part of #19359

Test Plan

added tests & snapshots

@11happy 11happy force-pushed the import_annotation_for_UP007_and_UP045 branch from 4bf8c65 to 768f4c2 Compare February 13, 2026 06:44
@astral-sh-bot
Copy link
Copy Markdown

astral-sh-bot bot commented Feb 13, 2026

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Copy link
Copy Markdown
Contributor

@ntBre ntBre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comment on #23260 (review). I think this PR has the same issues. It's probably best to get one of these landed and then apply the same approach to the other instead of updating them both in parallel since I think they'll be quite similar.

@ntBre ntBre added rule Implementing or modifying a lint rule preview Related to preview mode features labels Feb 20, 2026
@11happy
Copy link
Copy Markdown
Contributor Author

11happy commented Mar 5, 2026

Making it draft as once UP006 lands I will update this similarly here.

@11happy 11happy marked this pull request as draft March 5, 2026 07:59
@11happy 11happy force-pushed the import_annotation_for_UP007_and_UP045 branch from 768f4c2 to c03e495 Compare March 16, 2026 10:43
Signed-off-by: Bhuminjay <bhuminjaysoni@gmail.com>

missing snap

Signed-off-by: Bhuminjay <bhuminjaysoni@gmail.com>

update snaps

Signed-off-by: Bhuminjay <bhuminjaysoni@gmail.com>

add snaps

Signed-off-by: Bhuminjay <bhuminjaysoni@gmail.com>
@11happy 11happy force-pushed the import_annotation_for_UP007_and_UP045 branch from 7460d0c to 6b36c53 Compare March 16, 2026 15:48
11happy added 3 commits March 16, 2026 21:27
Signed-off-by: Bhuminjay <bhuminjaysoni@gmail.com>
Signed-off-by: Bhuminjay <bhuminjaysoni@gmail.com>
Signed-off-by: Bhuminjay <bhuminjaysoni@gmail.com>
@11happy 11happy marked this pull request as ready for review March 16, 2026 16:26
@astral-sh-bot astral-sh-bot bot requested a review from amyreese March 16, 2026 16:26
@11happy
Copy link
Copy Markdown
Contributor Author

11happy commented Mar 16, 2026

Its ready for review kept it similar to UP006.
Thank you : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

preview Related to preview mode features rule Implementing or modifying a lint rule

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants