-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Project interpreter is not resolved correctly on CLion #41
Labels
bug
Something isn't working
Comments
I stumped into this peculiar situation where the interpreter path was not passed to Pyright: from collections.abc import Callable # no error
v: Callable[[int], bool]
# ~~~~~~~~ Variable not allowed in type expression (reportInvalidTypeForm) {
"jsonrpc": "2.0",
"method": "workspace/didChangeConfiguration",
"params": {
"settings": {
"python": {
// no "pythonPath"
"analysis": {
"logLevel": "Trace",
"autoImportCompletions": true
}
},
"pyright": {
"disableTaggedHints": false
}
}
}
}
Logs
|
InSyncWithFoo
added a commit
that referenced
this issue
May 12, 2024
InSyncWithFoo
added a commit
that referenced
this issue
Jun 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On CLion,
ProjectRootManager.getInstance(project).projectSdk
returnsnull
.The text was updated successfully, but these errors were encountered: