-
Notifications
You must be signed in to change notification settings - Fork 41
Description
I had a look at the regressions of Pyright (1.1.406 vs. 1.1.407).
There are really a number of them ( > 10) and it seem they will not be fixed so fast (some of them a open for several month)
Meanwhile there seem to be a good alternative solution with ty (from astral.sh) so we should consider ty as alternative to Pyright
As the docs show https://docs.astral.sh/ty/ the ty Pshon type checker is really fast and it seems to be stricter in checking.
I gave it a try on the current codebase and it found several inconsistencies i am currently checking at...
The ty implementation is still in early stages (0.6 or 0.7) but IMO we should give it a try.
Astral is also the creator of uv and Ruff and they are known for fast and correct implementation.
Proposal:
- Open a PR with ty setup and test the typechecker in comparison to Pyright
- review the results ty reports
docs are here https://docs.astral.sh/ty/
this issue is somewhat similar to #116 where we look at the astral ruff code formatter.