-
-
Notifications
You must be signed in to change notification settings - Fork 504
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
Type hints and mypy support? #977
Comments
It would be lovely! Would you like to work on it? |
I may give it a try soon, we're currently integrating typing into our projects so I'm still getting my head around various aspects. The main concern would probably be Python 2.7 compatibility as it would be preferred to have the types inline with the code but I'm pretty sure Python 2.7 won't like that. Peraps if the next major version is Python 3.x compatible only, that will make it a lot easier 😄 Thanks a lot for the reply 😄 |
You can create separate pyi files to give to mypy if you don't want to inline in the code. |
Are there any plans yet to drop support for Python 2 in e.g. psycopg3 as I would welcome that change |
Psycopg3 is Python >= 3.6 only, and it's being developed at |
Does anyone have some type stubs for psycopg2 ? I'm new to pyright and I have |
Maybe this types package is relevant to someone |
Hey there guys, hope you're doing well! 😄
Are there any plans to add typing information and support mypy in the future?
Kindest Regards
Fotis
The text was updated successfully, but these errors were encountered: