Skip to content

Formatter: deviation from black: dict key split to multiline #11857

@minusf

Description

@minusf

ruff 0.4.8 python 3.10.14 macos 14.5

[tool.ruff]
line-length = 100

input:

        self.fields["redirect_link"].help_text = "Please do not use Tiny URLs for links to other www.xxxx.xxx pages."

black==24.4.2:

        self.fields["redirect_link"].help_text = (
            "Please do not use Tiny URLs for links to other www.xxxx.xxx pages."
        )

ruff==0.4.8

        self.fields[
            "redirect_link"
        ].help_text = "Please do not use Tiny URLs for links to other www.xxx.xxx pages."

Metadata

Metadata

Assignees

No one assigned

    Labels

    breakingBreaking API changebugSomething isn't workingformatterRelated to the formatter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions