mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-06 00:21:11 +00:00
Format binary expressions (#4862)
* Format Binary Expressions * Extract NeedsParentheses trait
This commit is contained in:
parent
775326790e
commit
3f032cf09d
47 changed files with 1122 additions and 217 deletions
|
@ -82,5 +82,5 @@ pub(crate) enum NodeLevel {
|
|||
CompoundStatement,
|
||||
|
||||
/// Formatting nodes that are enclosed in a parenthesized expression.
|
||||
Parenthesized,
|
||||
Expression,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue