ty 1.0: an extremely fast Python type checker and language server

18 points by bezdomni an hour ago on lobsters | 1 comment

nicoco | an hour ago

Oh wow, they jumped from 0.0.115 to 1.0. Interesting that neither uv nor ruff have passed 0-ver yet.

I have been using ty+ruff as LSPs in the gram editor for more than a year and have been mostly happy with it. Recent versions added features but crashed more often and had new performance issues, let's hope this 1.0 is the end of that. For the biggest projects and which I started with mypy, I still run mypy as a pre-commit hook and in CI, because the incompatibilities between the ty and mypy are quite annoying, and overall mypy --strict seemed more complete, notably regarding generics (at least with how I use them).