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
The fact that ruff check --statistics does disabled the output of effective line violations makes it impossible to us this as an addon option for improved output, especially when using ruff using as a pre-commit hook.
If that was its initial intention, it was implemented wrongly because it should have being just --output-format=statistics if it replaces the output.
This could be sorted by ensuring that --statistics does not affect the output format and that is output goes to stderr so it would not break tools that might process the standard output formats, which could be machine parseable.
Story: As an user, I want to see some stats about found violations, after they are listed.
The text was updated successfully, but these errors were encountered:
I think the ask here is to make --statistics additive. Ruff should include the statistics in the output in addition to the individual diagnostics. But I'm not 100% sure about that. This requires fleshing out the UX first
The fact that
ruff check --statistics
does disabled the output of effective line violations makes it impossible to us this as an addon option for improved output, especially when using ruff using as a pre-commit hook.If that was its initial intention, it was implemented wrongly because it should have being just
--output-format=statistics
if it replaces the output.This could be sorted by ensuring that
--statistics
does not affect the output format and that is output goes to stderr so it would not break tools that might process the standard output formats, which could be machine parseable.Story: As an user, I want to see some stats about found violations, after they are listed.
The text was updated successfully, but these errors were encountered: