Skip to content

[RUF051] Formatting issue for description of if-key-in-dict-del (RUF051) in docs #14976

@echoix

Description

@echoix

In the new rule if-key-in-dict-del (RUF051), there seems to be a formatting issue, as shown in the following screenshot.
Image

I don't see the problem in the PR that seems to have added that text: https://github.com/astral-sh/ruff/pull/14553/files#diff-b0fd57331d4ce41cac2a70091108b4053b5514a06d5d75da3b6bb0e880fbaeb0R11-R16

What is different from other rules that don't show up like this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions