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