I would like to disable the underlining of errors like .text in this example
But it would be ok for me when eg. driver is wrong written like that
In my defaultSettings.json the parameter for this option is set:
"python.analysis.typeCheckingMode": "off",
And in my settings.json this parameter is not at all.
So why is Pylance still underlining the .text-command? I only want that it is underlining error like wrong written driver?
i think i found the solution - There are 2 settings.json in VSCode - one for "User" and one for "Workspace":
I only checked the settings.json for "User" and there was no entry for the parameter "python.analysis.typeCheckingMode"
But when i checked the "Workspace" settings.json i saw this entry
python.analysis.typeCheckingMode": "basic"
I changed this to "off" and now everything works again as wanted.
This are the different options for this parameter for the pylance-extension: