Skip to content

[pyupgrade] Make fix unsafe if it deletes comments (UP020)#22872

Merged
ntBre merged 1 commit intoastral-sh:mainfrom
chirizxc:UP020
Jan 26, 2026
Merged

[pyupgrade] Make fix unsafe if it deletes comments (UP020)#22872
ntBre merged 1 commit intoastral-sh:mainfrom
chirizxc:UP020

Conversation

@chirizxc
Copy link
Contributor

Summary

Test Plan

@astral-sh-bot
Copy link

astral-sh-bot bot commented Jan 26, 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 26, 2026
@ntBre ntBre merged commit c4811fb into astral-sh:main Jan 26, 2026
42 checks passed
@chirizxc chirizxc deleted the UP020 branch January 26, 2026 19:11
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