requests / requests-oauthlib

OAuthlib support for Python-Requests!
https://requests-oauthlib.readthedocs.org/
ISC License
1.73k stars 423 forks source link

Type hints / type annotations / stub files for mypy #428

Open MartinThoma opened 4 years ago

MartinThoma commented 4 years ago

Are there any plans to add type annotations or stub files form mypy?

I see that you still want to support Python 2. I guess stub files would be the way to go then. Would you be open for a PR?

MGough commented 4 years ago

I've been digging around in this repo to try and work out the current state of things. It looks like last year there was a PR opened to remove the support for Python 2 (#381 - As well as 3.4), but it has not been reviewed. To me it seems sensible to drop the support for EOL python versions, and to begin to bring new features in. 3.5 is EOL now too!

Sadly it seems that this repo hasn't seen much activity in quite a long time. With #385 discussing the issue but without much of an outcome. It seems like this is a project that can and should be saved, the community do seem to have plenty of suggestions and PRs.