Alex Waygood
Alex Waygood
(cc. @tonybaloney, if you still have folks looking for good sprint contributions!)
(The PyCon sprints are over now, but this is still a great way to contribute, and we'll gladly accept PRs relating to it!)
I think this is basically done now!
typeshed-stats exposes a library interface as well as a CLI. It should be possible to have it as a test dependency here and use a small wrapper script to assert...
It might be easier to review if we first added some generated stubs using stubgen (if possible, using our wrapper script `scripts/create_baseline_stubs.py`), and we then incrementally made improvements to the...
Stubgen is able to introspect C extensions, yup (see https://github.com/python/mypy/blob/master/mypy/stubgenc.py for the implementation)
> One of the ideas behind #5952 was to actually test third-party stubs using the vendored stdlib of the respective type checkers. Maybe we should resurrect that idea? I don't...
> Do you think it's fine doing a single PR for those (single search & replace change across many third party stubs) instead of 40-70 PRs? Maybe we could start...
> * Fields that contain `Any`, either standalone or as union. `: Any | None\n` seems very safe to do a search-and-replace for. For `: Any\n`, I feel a _little_...
> Similar to `: Any | None = ...`, `: Any | None\n` seems like an equivalent stubgen artefact for class variables. Fancy taking this on as "stage 2", @Avasam?...