-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Resolve interpreter correctly for non-PyCharm IDEs #42
base: master
Are you sure you want to change the base?
Conversation
Qodana Community for JVM1 new problem were found
💡 Qodana analysis was run in the pull request mode: only the changed files were checked View the detailed Qodana reportTo be able to view the detailed Qodana report, you can either:
To get - name: 'Qodana Scan'
uses: JetBrains/qodana-action@v2024.1.4
with:
upload-result: true Contact Qodana teamContact us at qodana-support@jetbrains.com
|
I've tested the following IDEs on Windows (latest stable versions unless otherwise indicated):
The results all look like this: >>> from collections.abc import Callable
>>>
>>> v: Callable[[int], bool] = 1
^
Pyright: Expression of type "Literal[1]" is incompatible with declared type "(int) -> bool"
Type "Literal[1]" is incompatible with type "(int) -> bool" (reportAssignmentType) |
@bzoracler Thanks a lot! That saved me an unimaginably vast amount of work. Could you show me the corresponding log entries? If that's something you don't want to show publicly, you could redact private parts and/or send me an email at <this account's name>@gmail.com. |
After hours of debugging I conclude that a Painfully, that means I have two problems, one here and one has yet to be discovered. |
I've sent over a log file from a CLion session - hopefully that helps. |
@bzoracler Thanks, but the file doesn't contain any LSP log entries, which would look something like this:
Perhaps you forgot to enable logging? Specifically, what I want to look at the most is the |
cea4bd4
to
1047a4d
Compare
Presumably fixes #41. Not tested.