-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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-fine-grained-cache
for dmypy
hangs
#10735
Comments
Hm, interesting. Could you post the full command lines you are running? And could you try running something like Also, I'm a little surprised that the cached run is as slow as it is; is that with no changes made since the previous run? |
Oh, argh, something that you need to do in order to properly create a cache that can be used by dmypy, but which we neglected to document, is to pass |
dmypy requires local-partial-types, so without specifying it, we generate a cache that is useless to dmypy. Prompted by #10735.
dmypy requires local-partial-types, so without specifying it, we generate a cache that is useless to dmypy. Prompted by #10735.
I did post the full command lines... this was copied directly from my terminal.
Yes, no changes between the previous run, I ran it immediately after each other, as shown above... |
Oh, except I forgot the |
OK, now I get a different issue (though also my code changed, so maybe not directly related to the added
|
The
so this is probably a different bug, due to having In any case, now I get:
🚀 |
According to the docs (https://mypy.readthedocs.io/en/stable/additional_features.html?highlight=caching#caching-with-mypy-daemon) enabling the fine grained cache should help speed up initial mypy runs. However, this doesn't seem to be working, and
dmypy
seems to hang when using it:The text was updated successfully, but these errors were encountered: