Emacs for Python and Poetry Using `basedpyright-langserver`

1 · · Oct. 6, 2024, 6:34 p.m.
I am very pleased with my current emacs setup for Python, but I found setup to be a little tricky. I will document my setup here for my future self and for any other Pythonistas looking for a solid emacs config. Why basedpyright? Up to this point, I've been using mypy --strict on the command line for all my typechecking needs, but mypy is quite slow even for very small codebases, and even in --strict mode it is just not as strict as it could be. It's also not a language server, which I want for ...