2023-03-22 11:47:23 +00:00
|
|
|
{
|
2023-10-26 21:31:03 +00:00
|
|
|
"python.languageServer": "Pylance",
|
|
|
|
"[python]": {
|
2024-08-06 19:49:51 +00:00
|
|
|
"diffEditor.ignoreTrimWhitespace": false,
|
2024-04-09 12:28:45 +00:00
|
|
|
"editor.formatOnSave": true,
|
2024-08-06 19:49:51 +00:00
|
|
|
"editor.wordBasedSuggestions": "off",
|
2024-04-09 12:28:45 +00:00
|
|
|
"editor.defaultFormatter": "ms-python.black-formatter",
|
|
|
|
"editor.codeActionsOnSave": {
|
2024-08-06 19:49:51 +00:00
|
|
|
"source.organizeImports": "explicit",
|
|
|
|
"source.fixAll": "explicit",
|
2024-04-09 12:28:45 +00:00
|
|
|
},
|
2023-03-22 11:47:23 +00:00
|
|
|
},
|
|
|
|
"git.closeDiffOnOperation": true,
|
2024-08-06 19:49:51 +00:00
|
|
|
"python.analysis.autoImportCompletions": true,
|
|
|
|
"python.analysis.importFormat": "relative",
|
|
|
|
"python.analysis.fixAll": [
|
|
|
|
"source.convertImportFormat",
|
|
|
|
"source.unusedImports",
|
|
|
|
],
|
2023-03-22 11:47:23 +00:00
|
|
|
"python.analysis.typeCheckingMode": "basic",
|
2023-10-26 21:31:03 +00:00
|
|
|
"python.analysis.diagnosticMode": "workspace",
|
2024-04-09 12:28:45 +00:00
|
|
|
"python.testing.unittestEnabled": false,
|
|
|
|
"python.testing.pytestEnabled": true,
|
2023-03-22 11:47:23 +00:00
|
|
|
"python.testing.pytestArgs": [
|
2024-08-06 19:49:51 +00:00
|
|
|
"--import-mode=importlib",
|
2023-03-22 11:47:23 +00:00
|
|
|
],
|
2024-04-09 12:30:51 +00:00
|
|
|
// "black-formatter.importStrategy": "fromEnvironment",
|
|
|
|
// "flake8.importStrategy": "fromEnvironment",
|
2024-08-06 19:49:51 +00:00
|
|
|
// "isort.importStrategy": "fromEnvironment",
|
2023-03-22 11:47:23 +00:00
|
|
|
}
|