Can somebody who has made type hints work give the init.el
example that shows how? And provide description of how it works for you inside Emacs?
I gather that some people have successfully moved from Elpy to LSP as a Python development tool.
https://stackoverflow.com/a/73059420/1086346
I've been experimenting with this for a week and failing. I am able to get LSP to work with jedi for displaying info on built-in python definitions.
I miss some other features in Elpy, however, and I'm trying to decide if the LSP effort is worthwhile.
This page on Medium claims they make type hints work via linkage between LSP and mypy
,
https://medium.com/@enzuru/helpful-emacs-python-mode-hooks-especially-for-type-hinting-c4b70b9b221
but I don't see any hints when I try that.
So what I'm asking for is the smallest path to get type hints, especially if I don't have to install Evil or Anaconda-mode, neither of which I want :)