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
Add type hints #1828
base: master
Are you sure you want to change the base?
Add type hints #1828
Conversation
18298ed
to
094079f
Compare
Co-authored-by: Harmon <Harmon758@gmail.com>
Co-authored-by: Harmon <Harmon758@gmail.com>
Co-authored-by: Harmon <Harmon758@gmail.com>
Set up mypy and fix mypy errors (non-strict)
Add type hints for Client.remove_bookmark, Client.get_bookmarks, and Client.bookmark
To provide type hints to library users, you have to add |
Yup, I plan on doing that when type hinting (i.e. this branch / PR) is more complete. |
@Harmon758 any news on this PR? I'd like to contribute to this if you don't have time. Do you think we could merge this one? Then we'll be able to make multiple PRs in chunks to add missing types :) |
This is still a draft PR. |
Resolves #1407
This adds a
types
dependency extra, requiring types-oauthlib, types-requests, and typing-extensions.