ruff icon indicating copy to clipboard operation
ruff copied to clipboard

CLI: Show source context by default in `ruff check`

Open zanieb opened this issue 2 years ago • 3 comments

The --show-source flag can be used to show source information alongside violations during ruff check. This should be the default behavior.

--no-show-source can be used to return to the previous output. In the future, this option will be removed; see #7350.

zanieb avatar Sep 13 '23 16:09 zanieb

How does this align with our long-term goal of removing --show-source in favor of different formats?

MichaReiser avatar Sep 13 '23 16:09 MichaReiser

This is already the case in preview, right?

charliermarsh avatar Feb 25 '24 21:02 charliermarsh

Yeah I believe this was completed in #9687

Should we leave the issue open to track making it the non-preview default?

zanieb avatar Feb 25 '24 23:02 zanieb

IIUC --output-fomat=full as default is stabilized in v0.5, why keeping this issue for v0.6 milestone?

T-256 avatar Jun 26 '24 08:06 T-256