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:
konsti
2023-09-19 16:16:40 +02:00
committed by GitHub
parent 6dade5b9ab
commit 4ae463d04b
13 changed files with 208 additions and 2 deletions

View File

@@ -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,