Update vscode settings

This commit is contained in:
phil 2024-02-27 05:06:22 +05:30
parent 8c299f0041
commit 53216269cb
3 changed files with 14 additions and 5 deletions

5
.vscode/extensions.json vendored Normal file
View file

@ -0,0 +1,5 @@
{
"recommendations": [
"ms-python.vscode-pylance"
]
}

7
.vscode/launch.json vendored
View file

@ -6,19 +6,19 @@
"configurations": [
{
"name": "Gisaf FastAPI",
"type": "python",
"type": "debugpy",
"request": "launch",
"module": "uvicorn",
"args": [
"src.gisaf.application:app",
"--port=5003",
"--port=5000",
"--reload"
],
"justMyCode": false
},
{
"name": "Gisaf scheduler FastAPI",
"type": "python",
"type": "debugpy",
"request": "launch",
"module": "uvicorn",
"args": [
@ -28,6 +28,5 @@
],
"justMyCode": false
}
]
}

View file

@ -5,5 +5,10 @@
"python.autoComplete.extraPaths": [
"${workspaceFolder}/__pypackages__/3.11/lib"
],
"editor.defaultFormatter": "charliermarsh.ruff"
"editor.defaultFormatter": "charliermarsh.ruff",
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"python.analysis.autoImportCompletions": true,
"python.analysis.typeCheckingMode": "basic"
}