Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI: Show source context by default in ruff check #7349

Closed
zanieb opened this issue Sep 13, 2023 · 4 comments · Fixed by #9687 or #9814
Closed

CLI: Show source context by default in ruff check #7349

zanieb opened this issue Sep 13, 2023 · 4 comments · Fixed by #9687 or #9814
Assignees
Labels
cli Related to the command-line interface
Milestone

Comments

@zanieb
Copy link
Member

zanieb commented Sep 13, 2023

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 zanieb added the cli Related to the command-line interface label Sep 13, 2023
@MichaReiser

This comment was marked as resolved.

@charliermarsh
Copy link
Member

This is already the case in preview, right?

@zanieb
Copy link
Member Author

zanieb commented Feb 25, 2024

Yeah I believe this was completed in #9687

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

@T-256
Copy link
Contributor

T-256 commented Jun 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Related to the command-line interface
Projects
None yet
5 participants