Skip to content

Comments

parens_for_long_if_clauses_in_case_block preview style#10969

Closed
MichaReiser wants to merge 1 commit intomainfrom
parens_for_long_if_clauses_in_case_block
Closed

parens_for_long_if_clauses_in_case_block preview style#10969
MichaReiser wants to merge 1 commit intomainfrom
parens_for_long_if_clauses_in_case_block

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
@github-actions
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
29 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