Currently we use Mypy for static type checking, but it has several bugs that have required us to disable certain checks or make certain types too imprecise. It also doesn't yet seem to fully support the new generics syntax in Python 3.12, should we wish to adopt that.
Pyright seems to handle these edge cases better, so it might be worth switching.
Currently we use Mypy for static type checking, but it has several bugs that have required us to disable certain checks or make certain types too imprecise. It also doesn't yet seem to fully support the new generics syntax in Python 3.12, should we wish to adopt that.
Pyright seems to handle these edge cases better, so it might be worth switching.