Description
Hi, I'm following up from this post in the Python Typing forum, where this project was mentioned as a potential area that could benefit from typing investments.
I'm curious to learn about what your current workflow is for developing these stubs and keeping it up to date, and what the major pain points are.
Since this is a stubs package, I'm wondering if any of the tooling/infra from the typeshed project could help you maintain these stubs, for example:
- stubsabot: whenever the main package is released, it opens a PR that contains some information about what changed since the last release ([stubsabot] Bump Authlib to 1.5.* python/typeshed#13536)
- stubtest (https://mypy.readthedocs.io/en/stable/stubtest.html): check stub types against runtime values, flag parts of the API that aren't covered by stubs
- running various linters and typecheckers in CI to make sure the stubs work for other major typecheckers besides mypy (I see you run mypy locally, but I don't see a CI workflow setup)
We're exploring the possibility of making a generic setup of some of these tools, so that it can be easily used in other stubs projects outside of typeshed - do you think that would be useful for your project?
Are there other areas that you see potential for automation in, or tools that you wish you had?