Fail on warnings
#17963
Replies: 1 comment 2 replies
-
|
There's, unfortunately, no such option today. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I might've just missed a CLI arg or a config option somewhere, but I couldn't find any way to get ruff to fail (non-zero exit) if there are any warnings emitted.
This is annoying, as I'd like warnings (like the one below) to fail my CI workflows, rather than just passing silently.
Is there some option I missed that would get ruff to do this? If not, I'd like to escalate this into a feature request, though I very likely just missed something.
(I'm aware that it's possible to do this outside of ruff through bash, but I'd like to avoid that, if possible)
Beta Was this translation helpful? Give feedback.
All reactions