Skip to content

Commit

Permalink
Update VSCode configs
Browse files Browse the repository at this point in the history
  • Loading branch information
DeD1rk committed Mar 13, 2024
1 parent 665095d commit 2393fa9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 10 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"configurations": [
{
"name": "Django: manage.py runserver",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/website/manage.py",
"args": [
Expand All @@ -14,17 +14,25 @@
},
{
"name": "Django: manage.py test",
"type": "python",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/website/manage.py",
"args": [
"test",
"--noinput",
"--buffer",
"${input:tests}",
],
"cwd": "${workspaceFolder}/website",
"justMyCode": false,
"django": true,
}
],
"inputs": [
{
"id": "tests",
"type": "promptString",
"description": "An optional dotted path to select tests. E.g.: \"registrations.tests.test_forms\"",
}
]
}
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"editor.defaultFormatter": "ms-python.black-formatter",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
"source.organizeImports": "explicit"
},
"editor.formatOnType": true,
},
Expand Down

0 comments on commit 2393fa9

Please sign in to comment.