-
Notifications
You must be signed in to change notification settings - Fork 25
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
How to suppress "XXX is not accessed" #39
Comments
@byulparan The default of "reportUnusedVariable" is "none", see here. maybe related: microsoft/pyright#1118 |
@seagle0128 or maybe we can add an option to disable hint. |
It seems not |
@byulparan can you share how to set |
It just cut tag(unnecessary/deprecated) diagnostic. (setf lsp-diagnostic-filter (lambda (param work)
(puthash "diagnostics"
(cl-remove-if (lambda (diag) (gethash "tags" diag))
(gethash "diagnostics" param))
param)
param)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I created
pyrightconfig.json
but It's not effective.
when I run
![스크린샷 2021-03-03 오후 9 30 40](https://user-images.githubusercontent.com/459573/109806169-b8de8a80-7c67-11eb-8fc1-ead3b7c8e9bc.png)
pyright
in Terminal, It's avoid.How to I get just warning / error report. I don't want get Info-level report(green face).
The text was updated successfully, but these errors were encountered: