Skip to content

[pyupgrade] Handle comments and multiline expressions correctly (UP037)#15337

Merged
MichaReiser merged 5 commits intoastral-sh:mainfrom
InSyncWithFoo:UP037
Jan 10, 2025
Merged

[pyupgrade] Handle comments and multiline expressions correctly (UP037)#15337
MichaReiser merged 5 commits intoastral-sh:mainfrom
InSyncWithFoo:UP037

Conversation

@InSyncWithFoo
Copy link
Copy Markdown
Contributor

Summary

Resolves #7102.

Test Plan

cargo nextest run and cargo insta test.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 8, 2025

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Copy link
Copy Markdown
Member

@MichaReiser MichaReiser left a comment

Choose a reason for hiding this comment

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

Sweet

@MichaReiser MichaReiser added the fixes Related to suggested fixes for violations label Jan 8, 2025
@MichaReiser MichaReiser merged commit 3d9433c into astral-sh:main Jan 10, 2025
@InSyncWithFoo InSyncWithFoo deleted the UP037 branch January 10, 2025 09:39
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.

Rules UP037 cause autofix error

2 participants