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

View file

@ -5,5 +5,10 @@
"python.autoComplete.extraPaths": [ "python.autoComplete.extraPaths": [
"${workspaceFolder}/__pypackages__/3.11/lib" "${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"
} }