Support for mypy (python type checker)
complete
F
Félix Tremblay
Add type annotations to your Python programs, and use mypy to type check them. Mypy is essentially a Python linter on steroids, and it can catch many programming errors by analyzing your program, without actually having to run it. Mypy has a powerful type system with features such as type inference, gradual typing, generics and union types.
Sam Lijin
complete
Sam Lijin
We do actually support mypy! If you run
trunk check enable mypy
it will turn on :)There's certainly work that we want to do to improve our mypy integration, but please let us know how this works for you!