News for hackers. Stuff that matters.
Re:Pylyzer – A fast static code analyzer and language server... by scienceplease on Saturday April 13, 2024 @03:08PM (#40025236)
In the interim, check out basedpyright [1]. It's an up-to-date fork of pyright with some improvements, less arbitrary limitations, and does not require npm to install.

[1] https://github.com/detachhead/basedpyright

Re:Pylyzer – A fast static code analyzer and language server... by maleldil on Saturday April 13, 2024 @03:23PM (#40025333)
Do you have experience with it in production? Is it a drop-in replacement with respect to existing pyright configuration?
Re:Pylyzer – A fast static code analyzer and language server... by lemontheme on Sunday April 14, 2024 @04:46PM (#40034331)
I was thrilled to learn about basedpyright recently. It does a great job of filling in some of the missing parts of pyright that MS deemed a better fit for pylance – which is a vs code exclusive.

Easy to install with pipx.

As with pyright, I’ve noticed `--createstubs` helps against slowness when working in modules that import large untyped packages.