Skip to content

Comments

[pycodestyle] Preserve original value format (E731)#15097

Merged
MichaReiser merged 4 commits intoastral-sh:mainfrom
InSyncWithFoo:E731
Dec 23, 2024
Merged

[pycodestyle] Preserve original value format (E731)#15097
MichaReiser merged 4 commits intoastral-sh:mainfrom
InSyncWithFoo:E731

Conversation

@InSyncWithFoo
Copy link
Contributor

@InSyncWithFoo InSyncWithFoo commented Dec 22, 2024

Summary

Resolves #7720, resolves #10277.

Test Plan

cargo nextest run and cargo insta test.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 22, 2024

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@MichaReiser MichaReiser added the fixes Related to suggested fixes for violations label Dec 23, 2024
Copy link
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.

Nice, this is clever

@MichaReiser MichaReiser enabled auto-merge (squash) December 23, 2024 09:24
@MichaReiser MichaReiser merged commit 9eb73cb into astral-sh:main Dec 23, 2024
20 checks passed
@InSyncWithFoo InSyncWithFoo deleted the E731 branch December 23, 2024 18:58
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.

--fix --unsafe-fixes that converts lambda to function (rule E731) removes underscores from numbers. E731: Preserve multiline string when fixing.

2 participants