vscode-python3/.vscode/settings.json

30 lines
1.1 KiB
JSON
Raw Permalink Normal View History

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,
"editor.formatOnSave": true,
2024-08-06 19:49:51 +00:00
"editor.wordBasedSuggestions": "off",
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.codeActionsOnSave": {
2024-08-06 19:49:51 +00:00
"source.organizeImports": "explicit",
"source.fixAll": "explicit",
},
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",
"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
}