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

Open
zanieb opened this issue Sep 13, 2023 · 3 comments · Fixed by #9687 · May be fixed by #9814
Open

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

zanieb opened this issue Sep 13, 2023 · 3 comments · Fixed by #9687 · May be fixed by #9814
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?

@dhruvmanila dhruvmanila linked a pull request Apr 15, 2024 that will close this issue
@dhruvmanila dhruvmanila modified the milestones: v0.4.0, v0.5.0 Apr 18, 2024
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
4 participants