3.14. Typing Annotate¶
3.14.1. PyAnnotate¶
Annotating existing code
http://mypy-lang.blogspot.com/2017/11/dropbox-releases-pyannotate-auto.html
The -w flag means "go ahead, update the file":
$ pip install pyannotate
$ pyannotate -w myfile.py
3.14.2. Monkeytype¶
Annotating existing code
$ pip install monkeytype
$ monkeytype run runtests.py
$ monkeytype stub some.module
$ monkeytype apply some.module