You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
snapdgn
changed the title
ruff's --fix return a non-zero exit code even though there's only one fixable lint error.
ruff's --fix returns a non-zero exit code even though there's only one fixable lint error.
Oct 7, 2022
code snippet to reproduce the issue:
command:
ruff . --fix
output:
No pyproject.toml found. Falling back to default configuration... Found 0 error(s) (1 fixed).
echo $?
gives 1(as exit code)Image for reference:
The text was updated successfully, but these errors were encountered: