-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
Mypy cannot determine type of op_debug_information
#1221
Comments
@LegrandNico and @markusschmaus, have either of you run into this before, and, if so, do you have any ideas? |
I cannot reproduce the error on my side, both mypy and pre-commit are running correctly, but this could be due to pre-commit virtual env not updating correctly for some reason. I experienced something similar with typing extensions and I had to delete the pre-commit env folder to re-install it. |
op_debug_information
Yeah, it's not consistent for me either, which is what makes this so challenging. |
I get this error every single time. I've tried to clear the cache / reinstall pre-commit without success. |
I see it in #1168 randomly as well |
MyPy run by
pre-commit
will occasionally err with the following:This issue appears to be due to differences in command-line module ordering (see pre-commit/pre-commit#1580 (comment), pypa/pip#9502 (comment), and python/mypy#9954).
Let's see if we can remove this ordering disparity, because it's awfully annoying.
The text was updated successfully, but these errors were encountered: