mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-11 14:18:04 +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
|
@ -263,6 +263,7 @@ impl FromStr for MagicTrailingComma {
|
|||
|
||||
#[derive(Copy, Clone, Debug, Eq, PartialEq, Default)]
|
||||
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
|
||||
#[cfg_attr(feature = "serde", serde(rename_all = "lowercase"))]
|
||||
pub enum PreviewMode {
|
||||
#[default]
|
||||
Disabled,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue