Thomas Johnson
Thomas Johnson
Here is a snippet of the ast produced with type annotations in python 3.8 (I imagine you would get the same or similar output using `typed_ast` (https://github.com/python/typed_ast) in earlier python...
I think this is difficult for mypy to support because mypy immediately converts the build-in `ast` into a mypy specific ast where it does type inference https://github.com/python/mypy/wiki/Implementation-Overview. I think the...
Another project trying to solve this problem is https://github.com/mbdevpl/static-typing. It looks similar to pytype in regards to its "in progress" readme messaging.