-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the new mypy daemon to speed up type-checking #32
Comments
Thanks for the reference. I remember reading about it a few releases ago (#14) but didn't find any info about it other than a small mention in the changelog. From a quick look at that site, I can see a few problems, though. Notably:
I would probably use the daemon behind a linter flag and have it disabled by default for the time being. The |
Small update as the upstream issue I was subscribed to was closed. Not sure it's worth investigating because I'll need to manage the daemon in the plugin code. As long as |
Hello, I wanted to ask if there's going to be any work to implement |
Yeah, I tried |
Since mypy 0.6 there is a daemon included. So instead of running mypy as a command-line tool, one can run it as a long-running daemon (server) process and use a command-line client to send type-checking requests to the server. A speedup of 10x or more for large code bases seems possible. I think that would definetly be a large benefit for the speed of this Plugin. I would also gladly give a hand on implementation. Have a look at the daemon docu http://mypy.readthedocs.io/en/latest/mypy_daemon.html. It is still in beta state but already used in larger scale at Dropbox.
The text was updated successfully, but these errors were encountered: