mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-21 10:32:08 +08:00
Go back to default for useLibraryCodeForTypes & delete removed vscode-python configs. (#11101)
This commit is contained in:
12
.vscode/settings.default.json
vendored
12
.vscode/settings.default.json
vendored
@@ -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}"
|
||||
],
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user