4 ms·
The Python lsp backend (using pyright) is really nice. I used it when I was tracking every error I made when coding the Advent of Code recently. It was interest
by __mharrison__ 5y ago
The Python lsp backend (using pyright) is really nice. I used it when I was tracking every error I made when coding the Advent of Code recently. It was interesting to create "modern" Python using types and see what errors it would catch.
- benreesman 5y agoI've tried a few of the Python LSPs, but not `pyright`. Given the upfront cost of getting either `eglot` or `lsp-mode` to play nice with a new backend I'd really benefit from a TLDR on the cost/benefit. I tend to just say fuck it and use the Jedi backend even though it's far from precise. What sets `pyright` apart? As it happens I'm reworking my dots at the moment and I'd like to capture the point-in-time SOTA while I'm at it.
- ReleaseCandidat 5y ago> What sets `pyright` apart? It works with Emacs (but I didn't try the fork of Palantir). I didn't have much problems setting up LSP clients with lsp-mode, didn't take much time. My .emacs: https://github.com/Release-Candidate/Emacs https://github.com/Release-Candidate/Emacs
- benreesman 5y agoThank you!