3 ms·
You can gradually annotate these packages locally for your project with [1], and then contribute it to [2]. Automatic stub generation may also be helpful [3]
by ghostwriter 6y ago
You can gradually annotate these packages locally for your project with [1], and then contribute it to [2].
Automatic stub generation may also be helpful [3]
[1] https://github.com/python/mypy/wiki/Creating-Stubs-For-Python-Modules#examples https://github.com/python/mypy/wiki/Creating-Stubs-For-Pytho...
[2] https://github.com/python/typeshed https://github.com/python/typeshed
[3] https://mypy.readthedocs.io/en/stable/stubgen.html https://mypy.readthedocs.io/en/stable/stubgen.html
- jakear 6y agoThere’s a couple dozen packages on there. This can’t be described as “exactly the same” as npm/typescript if the scale and level of community involvement [1] is nowhere near the same. 1: among the most important things here, in addition to the strength of the type system, where mypy also lacks