diff --git a/.vscode/settings.default.json b/.vscode/settings.default.json index d06ef6034..38709967d 100644 --- a/.vscode/settings.default.json +++ b/.vscode/settings.default.json @@ -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}" ], diff --git a/pyrightconfig.scripts_and_tests.json b/pyrightconfig.scripts_and_tests.json index ef506c53e..1dd97d444 100644 --- a/pyrightconfig.scripts_and_tests.json +++ b/pyrightconfig.scripts_and_tests.json @@ -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