Skip to content

setting output format hides output in ruff check #14452

@kaddkaka

Description

@kaddkaka

When running a ruff check --fix-only there is no output about what errors were fixed. This surprised me, I thought it would still print the fixed error since the documentation about --fix-only says "Like fix, but disables reporting on leftover violation. Implies fix."

Maybe supplying --show-fixes will fix it? Yes,

ruff check --fix-only --show-fixes shows the fixed errors, great!

Can we also get this info in json output format? No,

ruff check --fix-only --show-fixes --output-format json print nothing! --output-format junit has the same issue.

Ruff version: 0.7.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliRelated to the command-line interfaceneeds-designNeeds further design before implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions