mirror of
https://github.com/astral-sh/ruff.git
synced 2025-12-04 01:36:46 +00:00
Add a test for stmt assign breaking in preview mode (#7516)
In preview mode, black will consistently break the right side first. This doesn't work yet, but we'll need the test later.
This commit is contained in:
parent
6dade5b9ab
commit
4ae463d04b
13 changed files with 208 additions and 2 deletions
|
|
@ -255,12 +255,14 @@ impl fmt::Display for DisplayPyOptions<'_> {
|
|||
line-width = {line_width}
|
||||
indent-width = {indent_width}
|
||||
quote-style = {quote_style:?}
|
||||
magic-trailing-comma = {magic_trailing_comma:?}"#,
|
||||
magic-trailing-comma = {magic_trailing_comma:?}
|
||||
preview = {preview:?}"#,
|
||||
indent_style = self.0.indent_style(),
|
||||
indent_width = self.0.indent_width().value(),
|
||||
line_width = self.0.line_width().value(),
|
||||
quote_style = self.0.quote_style(),
|
||||
magic_trailing_comma = self.0.magic_trailing_comma()
|
||||
magic_trailing_comma = self.0.magic_trailing_comma(),
|
||||
preview = self.0.preview()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue