mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-03 07:04:53 +00:00
Remove layout values from AnyStringPart
(#13681)
This commit is contained in:
parent
93eff7f174
commit
b9827a4122
5 changed files with 45 additions and 62 deletions
|
@ -9,7 +9,6 @@ pub struct FormatBytesLiteral;
|
|||
impl FormatNodeRule<BytesLiteral> for FormatBytesLiteral {
|
||||
fn fmt_fields(&self, item: &BytesLiteral, f: &mut PyFormatter) -> FormatResult<()> {
|
||||
StringNormalizer::from_context(f.context())
|
||||
.with_preferred_quote_style(f.options().quote_style())
|
||||
.normalize(item.into())
|
||||
.fmt(f)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue