testdata/foo.py : input we want to annotate
testdata/foo.pyi : type hints we want to add to foo.py (may be intentionally bad)
testdata/foo.comment.py : expected output, inserting types as comments
testdata/foo.pep484.py : expected output, inserting types in PEP484 style
This is not an official Google product.
Copy type annotations from a PEP484 stub file into python source.
Sample use:
PyCon 2016 slides
Regression tests