-
Notifications
You must be signed in to change notification settings - Fork 23
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
stub file not read when checking buffer #85
Comments
I’ve tried putting the stubs in a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a
__init__.py
file with some code and a__init__.pyi
stub file, the types are kept in the pyi file for better backwards compatibility. In emacs, withpython-mode
andlsp-mode
enabled in the__init__.py
buffer the stub file is not read when pyright performs error checking, so I get errors like:But the types are present in the stub file as verified with
pyright --verifytypes getargv
on the cli.The text was updated successfully, but these errors were encountered: