40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"editor.formatOnSave": true,
|
|
"editor.formatOnSaveMode": "file",
|
|
"editor.tabSize": 4,
|
|
"editor.insertSpaces": true,
|
|
"editor.rulers": [
|
|
100
|
|
],
|
|
"editor.minimap.enabled": false,
|
|
"files.eol": "\n",
|
|
"files.trimTrailingWhitespace": true,
|
|
"files.insertFinalNewline": true,
|
|
"search.useIgnoreFiles": true,
|
|
"git.autofetch": true,
|
|
"python.venvFolders": [".venv"],
|
|
"python.testing.pytestEnabled": true,
|
|
"python.testing.unittestEnabled": false,
|
|
"python.testing.autoTestDiscoverOnSaveEnabled": true,
|
|
"python.testing.pytestArgs": [
|
|
"tests", "-q", "-vv", "-s", "--tb=short", "--no-header",
|
|
],
|
|
"python.analysis.typeCheckingMode": "basic",
|
|
"python.analysis.autoImportCompletions": true,
|
|
"python.terminal.activateEnvironment": true,
|
|
"ruff.lint.enable": true,
|
|
"ruff.format.enable": true,
|
|
"editor.defaultFormatter": "charliermarsh.ruff",
|
|
"[python]": {
|
|
"editor.defaultFormatter": "charliermarsh.ruff"
|
|
},
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll": "explicit",
|
|
"source.organizeImports": "explicit"
|
|
},
|
|
"python.analysis.extraPaths": [
|
|
"${workspaceFolder}/src"
|
|
]
|
|
|
|
}
|