-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Enable ignoring warnings on an ad hoc basis #453
Comments
Put |
@jean Please check here and give it a try. #271 (comment) |
@yaegassy thanks for the pointer. It's good, but it's global. I would like to normally see this type of hint, and to be able to turn it off on a case-by-case basis. |
@jean It is also possible to change the settings at the "project level". I had previously considered adding a feature that would completely suppress the hint messages themselves, but for various reasons, this feature has been removed. #428 (comment) |
@yaegassy project level is better already, but this is really the kind of thing that's relevant on a case by case basis. It looks like #428 (comment) is about a global category of parameters that should not be flagged. |
@jean OK, I understand what you want to do. But unfortunately, there is no way to suppress this hint message individually at the moment. |
Does something like this work: https://stackoverflow.com/a/72322304/2109112 ? |
What's the output of
:CocCommand pyright.version
[coc.nvim] coc-pyright 1.1.135 with Pyright 1.1.135
PyRight emits warnings for e.g. unused names (microsoft/pyright#1118).
Nvim with CoC displays this quite obtrusively. With PyLint, it's possible to silence warnings on individual lines using comments like
# pylint: disable=W0612
.Is anything similar possible for PyRight?
The text was updated successfully, but these errors were encountered: