3 ms·
Do you know about Pyright? It is a Python type checker implemented in, and apparently influenced by, TypeScript. It is from Microsoft, so the influence is not t
by networked 3y ago
Do you know about Pyright? It is a Python type checker implemented in, and apparently influenced by, TypeScript. It is from Microsoft, so the influence is not that surprising.
There was a recent HN submission about it: https://news.ycombinator.com/item?id=34222407 https://news.ycombinator.com/item?id=34222407.
I use Pyright as my primary type checker and mypy as a secondary. (For example, Pyright won't run in Termux on my phone. I could likely fix this, but mypy just installs with pipx.) There is a document comparing Pyright and mypy in the Pyright repository: https://github.com/microsoft/pyright/blob/b09f35889a9cc9b262467097c9b027b6c3939870/docs/mypy-comparison.md https://github.com/microsoft/pyright/blob/b09f35889a9cc9b262....
- VeejayRampay 3y agoI think by design, pyright works on single files, not whole codebases, unless you add some scripting on top of it