{ "python.languageServer": "Pylance", "[python]": { "diffEditor.ignoreTrimWhitespace": false, "editor.formatOnSave": true, "editor.wordBasedSuggestions": "off", "editor.defaultFormatter": "ms-python.black-formatter", "editor.codeActionsOnSave": { "source.organizeImports": "explicit", "source.fixAll": "explicit", }, }, "git.closeDiffOnOperation": true, "python.analysis.autoImportCompletions": true, "python.analysis.importFormat": "relative", "python.analysis.fixAll": [ "source.convertImportFormat", "source.unusedImports", ], "python.analysis.typeCheckingMode": "basic", "python.analysis.diagnosticMode": "workspace", "python.testing.unittestEnabled": false, "python.testing.pytestEnabled": true, "python.testing.pytestArgs": [ "--import-mode=importlib", ], "black-formatter.importStrategy": "fromEnvironment", "flake8.importStrategy": "fromEnvironment", "isort.importStrategy": "fromEnvironment", }