Skip to content

[pyupgrade] Make fix unsafe if it deletes comments (UP041)#22773

Merged
ntBre merged 2 commits intoastral-sh:mainfrom
chirizxc:UP041
Jan 21, 2026
Merged

[pyupgrade] Make fix unsafe if it deletes comments (UP041)#22773
ntBre merged 2 commits intoastral-sh:mainfrom
chirizxc:UP041

Conversation

@chirizxc
Copy link
Contributor

Summary

Test Plan

@astral-sh-bot
Copy link

astral-sh-bot bot commented Jan 20, 2026

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@ntBre ntBre added the fixes Related to suggested fixes for violations label Jan 21, 2026
Copy link
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.

Thanks! I just had one nit about the message that I'll apply.

@ntBre ntBre enabled auto-merge (squash) January 21, 2026 14:08
@ntBre ntBre merged commit 2573c4e into astral-sh:main Jan 21, 2026
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fixes Related to suggested fixes for violations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants