-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Support features about export (__all__) #185
Comments
Thanks for the suggestion. This will be included in the next version of pyright. |
microsoft/python-language-server#619 FYI, python-language-server removed support of
Not sure what's those libraries and how they can't handle. |
Yeah, I'm not planning to honor |
Fair point. Didn't read the issue description clearly enough and thought those two issue were simillar. |
This support is included in 1.0.54, which I just published. |
I installed new version and checked it working well!! Thank you for maintaining this amazing project! |
Is your feature request related to a problem? Please describe.
A clear and concise description of the problem.
I think above code should not raise any warnings nor errors, but pyright 1.0.53 raises an error like
error: Import 'some_function' is not accessed
.A static analyzer may not fully support this feature because value of
__all__
can be dynamic. But it would be much better if pyright supports this feature even though partially.The text was updated successfully, but these errors were encountered: