Summary
I'm trying to set-up ruff format --check in precommit hook and would like it to only return an exit code, instead of outputting anything.
The description of ruff format --check --silent says "Disable all logging (but still exit with status code "1" upon detecting diagnostics)", which is what I need but when actually running it, it still shows "Would reformat: [filename]"
Version
0.11.7
Summary
I'm trying to set-up
ruff format --checkin precommit hook and would like it to only return an exit code, instead of outputting anything.The description of
ruff format --check --silentsays "Disable all logging (but still exit with status code "1" upon detecting diagnostics)", which is what I need but when actually running it, it still shows "Would reformat: [filename]"Version
0.11.7