Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parens_for_long_if_clauses_in_case_block preview style #10969

Closed
wants to merge 1 commit into from

Conversation

MichaReiser
Copy link
Member

Summary

Implements psf/black#4269

The main idea is to prefer breaking the guard expression over the value.

Test Plan

Requires more tests

@MichaReiser MichaReiser added formatter Related to the formatter preview Related to preview mode features labels Apr 16, 2024
Copy link
Contributor

ruff-ecosystem results

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

@MichaReiser MichaReiser marked this pull request as draft April 16, 2024 07:23
@MichaReiser MichaReiser mentioned this pull request Sep 16, 2024
27 tasks
@MichaReiser
Copy link
Member Author

I'll create a new PR for this shortly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
formatter Related to the formatter preview Related to preview mode features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant