Skip to content

Go back to default for useLibraryCodeForTypes & delete removed vscode-python configs.#11101

Merged
srittau merged 1 commit intopython:mainfrom
Avasam:useLibraryCodeForTypes
Dec 5, 2023
Merged

Go back to default for useLibraryCodeForTypes & delete removed vscode-python configs.#11101
srittau merged 1 commit intopython:mainfrom
Avasam:useLibraryCodeForTypes

Conversation

@Avasam
Copy link
Collaborator

@Avasam Avasam commented Dec 4, 2023

Since pyright@1.1.303 the default value of useLibraryCodeForTypes has been updated to true to be the same as Pylance. So it doesn't need to be configured in Pylance anymore to have the same default as Pyright.

Having the value to false atm differs from our pyright configs and can lead to wild desyncs with partial Unknowns (see microsoft/pylance-release#5202 (comment))

The rest of the python settings removed are settings that were deprecated, but now no longer even exists since microsoft/vscode-python#22266. (also see for more info: https://github.com/microsoft/vscode-python/wiki/Migration-to-Python-Tools-Extensions )

@srittau srittau merged commit b5511ca into python:main Dec 5, 2023
@Avasam Avasam deleted the useLibraryCodeForTypes branch December 5, 2023 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants