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

This commit is contained in:
Avasam
2023-12-05 07:24:18 -05:00
committed by GitHub
parent 23b0291176
commit b5511ca648
2 changed files with 0 additions and 14 deletions

View File

@@ -71,23 +71,11 @@
],
"editor.defaultFormatter": "ms-python.black-formatter"
},
// Use the new dedicated extensions instead
"python.formatting.provider": "none",
"python.linting.enabled": false,
"python.linting.mypyEnabled": false,
"python.linting.flake8Enabled": false,
"python.linting.pycodestyleEnabled": false,
"python.linting.prospectorEnabled": false,
"python.linting.pylamaEnabled": false,
"python.linting.pylintEnabled": false,
"python.linting.banditEnabled": false,
// python.analysis is Pylance (pyright) configurations
"python.analysis.fixAll": [
"source.unusedImports"
// Explicitly omiting "source.convertImportFormat", some stubs use relative imports
],
// Important to use `types-*` and flag untyped dependencies.
"python.analysis.useLibraryCodeForTypes": false,
"python.analysis.typeshedPaths": [
"${workspaceFolder}"
],

View File

@@ -6,8 +6,6 @@
"tests",
],
"typeCheckingMode": "strict",
// Runtime libraries used by typeshed are not all py.typed
"useLibraryCodeForTypes": true,
// More of a lint. Unwanted for typeshed's own code.
"reportImplicitStringConcatenation": "none",
// Extra strict settings