-
Notifications
You must be signed in to change notification settings - Fork 1
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
Cannot disable "x is not accessed" warnings #5
Comments
These are actually diagnostic hints, which up until recently Pyright has claimed that being able to disable is not necessary and should be the job of the client. However, I just had another look and found that they finally added a way! microsoft/pyright#1118 (comment) I've verified that I can add a setting to the extension that will disable these, so I'll get an update out in the next day or so. I've also filed a feature request for Nova to be able to filter the issues sidebar. 🤞 for 12.0. |
Just pushed out version 1.2.1 with the new setting - give it a shot! |
Just updated and it works great! Thanks for finding that setting. I read through all the settings in the docs yesterday and there's no mention of that for the CLI options. I was going to ask for a new release since the Thanks again! This extension is great. I'll open issues/PRs if there's anything else I run into in the future. |
Thanks for making this extension. It's great! I was able to replace several extensions with this one. I only ran into one minor issue.
Unaccessed variables and imports are shown in the Issues panel even though running
pyright
on the command line shows no issues. I have tried variouspyright
settings in thepyproject.toml
file but none of them disabled these findings.Here is a simple file to show the issue:
I tried adding
# pyright: ignore
to the line and that had no affect.Command line output:
Some system information:
The text was updated successfully, but these errors were encountered: