-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Formatter: boolean operator should have equal level #6068
Closed
Comments
20 tasks
zanieb
added a commit
that referenced
this issue
Aug 7, 2023
Closes #6068 These commits are kind of a mess as I did some stumbling around here. Unrolls formatting of chained boolean operations to prevent nested grouping which gives us Black-compatible formatting where each boolean operation is on a new line.
durumu
pushed a commit
to durumu/ruff
that referenced
this issue
Aug 12, 2023
Closes astral-sh#6068 These commits are kind of a mess as I did some stumbling around here. Unrolls formatting of chained boolean operations to prevent nested grouping which gives us Black-compatible formatting where each boolean operation is on a new line.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We format
and
in one line and break theor
, even though like black we should break bothblack:
ours:
The text was updated successfully, but these errors were encountered: