fixup after merge
This commit is contained in:
parent
45fd512519
commit
42624f44e9
@ -238,9 +238,7 @@ def generate_ignored_nodes(leaf: Leaf, comment: ProtoComment) -> Iterator[LN]:
|
|||||||
if (
|
if (
|
||||||
child.type == token.INDENT
|
child.type == token.INDENT
|
||||||
and index < len(container.children) - 1
|
and index < len(container.children) - 1
|
||||||
and children_contains_fmt_on(
|
and children_contains_fmt_on(container.children[index + 1])
|
||||||
container.children[index + 1]
|
|
||||||
)
|
|
||||||
):
|
):
|
||||||
# This means `# fmt: on` is placed right after an indentation
|
# This means `# fmt: on` is placed right after an indentation
|
||||||
# level, and we shouldn't swallow the previous INDENT token.
|
# level, and we shouldn't swallow the previous INDENT token.
|
||||||
|
@ -154,7 +154,6 @@ class Preview(Enum):
|
|||||||
# NOTE: string_processing requires wrap_long_dict_values_in_parens
|
# NOTE: string_processing requires wrap_long_dict_values_in_parens
|
||||||
# for https://github.com/psf/black/issues/3117 to be fixed.
|
# for https://github.com/psf/black/issues/3117 to be fixed.
|
||||||
string_processing = auto()
|
string_processing = auto()
|
||||||
skip_magic_trailing_comma_in_subscript = auto()
|
|
||||||
wrap_long_dict_values_in_parens = auto()
|
wrap_long_dict_values_in_parens = auto()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user