-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Using ruff check diff suppresses errors #4093
Comments
If the help of the CLI you can find
|
Thanks for the clarification, that makes more sense now. |
I think updating the |
I just opened this so the maintainers can decide if it needs any action. |
@dhruvmanila - Agreed, would be nice if we could exit with a meaningful error there. |
Is there an option to output both diffs it could make as well as errors that don't have fixes? It would be useful for me to output all errors + all fixes and return code 1 if there are any. |
Hey, thanks for the great work.
I don't know if this is a bug or maybe unclear flag, but doing
ruff check --diff .
does not fail:But running
ruff check .
shows proper errors:Is this expected? I didn't expect
--diff
to have this side-effect, maybe the help is not clear?The text was updated successfully, but these errors were encountered: