Python 3: Sphinx doesn't show type hints correctly I tackled it on my own by using the sphinx-autodoc-typehints extension.