ducktest is a tool to generate type hints from unit tests.
ducktest executes tests in given folders and collects the types of call parameters and return values. Then it writes that information into the corresponding method docstrings.
github: https://github.com/markuswissinger/ducktestpy/
documentation: https://github.com/markuswissinger/ducktestpy/blob/master/doc/doc.rst