mirror of
https://github.com/astral-sh/ruff
synced 2026-01-23 14:30:53 -05:00
Remove some trailing commas in write calls (#6666)
This commit is contained in:
@@ -61,7 +61,7 @@ impl FormatNodeRule<ExprBoolOp> for FormatExprBoolOp {
|
||||
)?;
|
||||
}
|
||||
|
||||
write!(f, [op.format(), space(),])?;
|
||||
write!(f, [op.format(), space()])?;
|
||||
|
||||
FormatValue { value }.fmt(f)?;
|
||||
}
|
||||
|
||||
@@ -943,7 +943,7 @@ pub(crate) fn write_suppressed_clause_header(
|
||||
[verbatim_text(
|
||||
header.range(f.context().source())?,
|
||||
ContainsNewlines::Detect
|
||||
),]
|
||||
)]
|
||||
)?;
|
||||
|
||||
let comments = f.context().comments();
|
||||
|
||||
Reference in New Issue
Block a user