Skip to content

Break string percent formatting like black #6505

@konstin

Description

@konstin

black:

template_params["lhs"] = "%s, %s" % (
    template_params,
    lookup_band_lhs,
)

template_params__lhs__ = "%s, %s" % (
    template_params,
    lookup_band_lhs,
)

ours:

template_params["lhs"] = (
    "%s, %s"
    % (
        template_params,
        lookup_band_lhs,
    )
)

template_params__lhs__ = "%s, %s" % (
    template_params,
    lookup_band_lhs,
)

Metadata

Metadata

Assignees

Labels

formatterRelated to the formatter

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions