by more-coffee · 3y ago · 0 comments
[1] https://mypy.readthedocs.io/en/stable/command_line.html#incr...
But that link also mentions daemon mode [1], which supposedly "can be 10 or more times faster", so that could be something to try. Running as a persistent server with an in-memory cache is probably part of why LSP-based type checkers like Pyright can perform better than mypy.
[1] https://mypy.readthedocs.io/en/stable/mypy_daemon.html#mypy-...