-
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
Missing file name when emiting warnings #5729
Comments
@matejsp just to clarify, you're looking for three things here?
Is that right? |
|
I think the "right" solution here might be to treat those warnings as diagnostics, rather than "warnings". As diagnostics, they would have all of those properties automatically. |
It's similar to #850. |
Maybe I'll rephrase that as: they should very likely be diagnostics, and not ad hoc warnings. But the downside of being diagnostics is that they won't be enabled by default for users. |
This warning is emitted only on first run (after cache is build it is no longer displayed)
It would be nice to threat warnings as errors
Ruff version:
(venv) ➜ ruff --version
ruff 0.0.27
Previous version didn't emit such warnings on lines:
# noqa: 901
now it wants complete code:
# noqa: C901
The text was updated successfully, but these errors were encountered: