Skip to content

[Feature request] Can Ruff "output format" group by violation code? #21053

@jsh9

Description

@jsh9

Currently the Ruff linter offer "grouped" as one of the output formats, which groups violations by file.

Can there be another option to group by violation code?

The benefit of this option is: nowadays we often use AI coding assistants (such as Claude Code, Codex, ...) to fix linter issues for us. I've found that AI performs better when fixing one type of issues at a time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliRelated to the command-line interfaceneeds-decisionAwaiting a decision from a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions