-
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
[Feature Idea] Add column headers to ruff check --statistics
, to avoid ambiguity
#13717
Comments
Just to be clear, |
The issue here might be that when the meaning of A primary step to closing this issue would be to document the meaning of Currently, the help message is:
With the mention that violations that are fixable are indicated:
This would also appear in the docs as such. Happy to add the PR. A slight downside would be that this is only relevant for the text format, and not for JSON (but imo still the best way to go given the alternatives). Note that currently we mimic Flake8's |
I would prefer a message at the end of the output similar to the |
This seems to have been resolved by #13774. |
This is a question that can be easily answered, but ideally wouldn't have to be asked if there were column headers.
Here is an example output to running
ruff check --statistics
For anyone new to using ruff, it's not immediately apparent what each column means.
Sure, it's reasonable to assume that the first column is the # of occurrences and that the second column is the rule, but what
[*]
means is unclear. I think having an explicit header row to denote what each column is would make for a better experience :DThe text was updated successfully, but these errors were encountered: