-
Notifications
You must be signed in to change notification settings - Fork 102
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
Usable with Pyright? #140
Comments
Maybe somebody can give it a try and report your findings? None of the maintainers are familiar with pyright. At least functionality provided by the mypy plugin wouldn't be there, but the stubs might still be of some value. |
Just to get it started: there are some mentions of sqlalchemy and sqlalchemy-stubs in the pyright issue tracker. Most notable being:
I haven't experimented with the config file so far, so I get a lot of import-related errors for the project that passes the checks with mypy. From the first glance, with the I might be missing something, but it seems it can't pick up |
It is simple to try it yourself: npm install --global pyright
pyright --help Then, do the usual: pyright yourfile.py |
Just installing From
|
Oh sorry, I misunderstood. Yes the plugins don't work. Only the basic inference works. |
If this cannot be used with pyright (isntead of mypy), then what needs to happen so that it can be used with pyright?
The text was updated successfully, but these errors were encountered: