Bill Schnurr
Bill Schnurr
this mentions that "two spaces" might work as well. https://stackoverflow.com/questions/26626256/how-to-insert-a-line-break-br-in-markdown
This issue has been fixed in version 2022.8.21, which we've just released. You can find the changelog here: [CHANGELOG.md](https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#2022821-10-august-2022-prerelease)
this was the pyright PR. usually changes from pylance get squashed together to update pyright. this PR was missing detailed info though. https://github.com/microsoft/pyright/pull/3816
are you using "open folder" ?
work around for the double hint. in settings.json `"python.pylanceLspNotebooksEnabled": true`
https://github.com/microsoft/pylance-release/issues/3017 should be fixed now
have you tried selecting an interpreter? https://code.visualstudio.com/docs/python/environments#_select-and-activate-an-environment
In your settings you could try pointing directly to the stubs that pylance shipped with. just need to find where the extension installed (can probably see it in the output...
still an issue with latest pyright/pylance?
currently this is flagged as an unused import.. only if it was a single line 'from datetime import date, date' is it flagged as duplicate.