-
-
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
Usage error when using --find-occurrences #15527
Comments
Oh interesting, I didn't know this was an option. Looks like it's documented as experimental. Anyway easy enough to fix... |
As a workaround, you could probably install mypy without mypyc, e.g. via |
Fixes python#15527 Namespaces are untyped, so this only gets caught by mypyc. I didn't know about this feature, looks like it's explicitly documented as experimental. Guess no one has used it in a long, long time.
Thanks @hauntsaninja I'll try the work around. |
@hauntsaninja it might be out of scope for this bug report but I noticed that |
A slightly more ergonomic workaround would be to pass |
@hauntsaninja will do. Thank you for the help. |
Hi All,
I am trying to use
--find-occurrences
but it looks like it might be broken.I could also be reading
--help
wrong; in that case it would help if there was clear documentation on how to use it - related #2042Commands tried:
Output
Your Environment
mypy==1.4.1
,mypy-extensions==1.0.0
,pylsp-mypy==0.6.7
The text was updated successfully, but these errors were encountered: