Skip to content

Conversation

@LaBatata101
Copy link
Contributor

Summary

Fixes #18475

Test Plan

Add regression test

…xpressions spanned across multiple lines
@github-actions
Copy link
Contributor

github-actions bot commented Jun 5, 2025

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@ntBre ntBre added bug Something isn't working fixes Related to suggested fixes for violations labels Jun 5, 2025
@ntBre ntBre self-requested a review June 5, 2025 16:47
@LaBatata101 LaBatata101 changed the title [pycodestyle] Fix E731 autofix creating a syntax error for if expressions spanned across multiple lines [pycodestyle] Fix E731 autofix creating a syntax error for expressions spanned across multiple lines Jun 12, 2025
@LaBatata101 LaBatata101 requested a review from MichaReiser June 12, 2025 13:36
@LaBatata101 LaBatata101 requested a review from MichaReiser June 12, 2025 14:13
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.

thank you

@MichaReiser MichaReiser merged commit 76d9009 into astral-sh:main Jun 13, 2025
33 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working fixes Related to suggested fixes for violations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Fix error] unsafe-fixes introduces a syntax error

3 participants