Skip to content

Formatter: Expands function call after multi-line string #6500

@konstin

Description

@konstin
"""
{}
""".format("hi")

should be formatted as

"""
{}
""".format(
    "hi"
)

This depends on the string content, e.g.

"""{}""".format("hi")

does not get expanded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    formatterRelated to the formatter

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions