Skip to content

Merge rules checking the same violation #2714

@not-my-profile

Description

@not-my-profile

As per the rule naming convention established in #2712 the rule name should be the bad thing that's being checked for and not contain the solution, so we should merge the following rules accordingly:

In the long run it would be nice if ruff supported different autofixes for one violation, see #2713.

Metadata

Metadata

Assignees

No one assigned

    Labels

    trackingA "meta" issue that tracks completion of a bigger task via a list of smaller scoped issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions