Skip to content

Commit

Permalink
updates settings
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Nov 13, 2023
1 parent f0744f1 commit 218854e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 22 deletions.
1 change: 0 additions & 1 deletion .vscode/launch.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@
"restart": true,
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"port": 9229
}
]
}
31 changes: 10 additions & 21 deletions .vscode/settings.template.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// This is a template. Clone and replace extension ".template.json" by ".json"
{
"autoDocstring.docstringFormat": "pep257",

"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
Expand Down Expand Up @@ -27,9 +29,8 @@
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true
},
"python.formatting.autopep8Args": [
"--max-line-length 140"
],
"python.analysis.autoImportCompletions": true,
"python.analysis.typeCheckingMode": "basic",
"python.analysis.extraPaths": [
"./packages/models-library/src",
"./packages/postgres-database/src",
Expand All @@ -47,35 +48,23 @@
"./services/web/server/src",
"./services/web/server/tests/unit/with_dbs"
],
"python.linting.pylintEnabled": true,
"python.linting.enabled": true,
"python.testing.pytestEnabled": true,
"[python]": {
"editor.detectIndentation": false,
"editor.tabSize": 4
},
"[makefile]": {
"editor.insertSpaces": false
},
"python.testing.pytestEnabled": true,
"autoDocstring.docstringFormat": "pep257",
"hadolint.hadolintPath": "${workspaceFolder}/scripts/hadolint.bash",
"hadolint.cliOptions": [],
"shellcheck.executablePath": "${workspaceFolder}/scripts/shellcheck.bash",
"shellcheck.run": "onSave",
"shellcheck.enableQuickFix": true,
"python.formatting.provider": "black",
"isort.path": [
"${workspaceFolder}/.venv/bin/isort"
],
"isort.args": [
"--settings-path=${workspaceFolder}/.isort.cfg"
],
"python.analysis.autoImportCompletions": true,
"python.analysis.typeCheckingMode": "basic",
"ruff.args": [
"ruff.lint.args": [
"--config=${workspaceFolder}/.ruff.toml"
],
"ruff.path": [
"${workspaceFolder}/.venv/bin/ruff"
]
],
"shellcheck.executablePath": "${workspaceFolder}/scripts/shellcheck.bash",
"shellcheck.run": "onSave",
"shellcheck.enableQuickFix": true
}

0 comments on commit 218854e

Please sign in to comment.