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
Hi, I found that currently most diagnostics, except for two, are assigned the severity level of "Warning".
It would be nice if this can be customised via user's settings.
Otherwise would you be open to a PR just extending the current behaviour to consider some diagnostic with "Information" or "Hint" level by default like ARG, SIM, PTH?
The text was updated successfully, but these errors were encountered:
lkhphuc
changed the title
Override severity level.
Customise or better default for severity level?
Mar 9, 2023
I heavily customized flake8 severity levels before switching to ruff, and I had much fewer plugins for it than I use in Ruff: "flake8.severity": {"F": "Error", "E999": "Error", "E": "Warning", "W": "Information", "B": "Error", "C": "Information", "H601": "Information"}
I would like the option to customize the severities as I see fit, preferably in my .ruff.toml, so that I can enforce violations I deem to be Errors to block pull requests in my CI while not blocking on Warnings or below.
Hi, I found that currently most diagnostics, except for two, are assigned the severity level of "Warning".
It would be nice if this can be customised via user's settings.
Otherwise would you be open to a PR just extending the current behaviour to consider some diagnostic with "Information" or "Hint" level by default like ARG, SIM, PTH?
The text was updated successfully, but these errors were encountered: