Skip to content

Commit 885030f

Browse files
Update gitignore to include vscode files
Add launch and settings for workspace
1 parent 41aacbc commit 885030f

File tree

3 files changed

+29
-1
lines changed

3 files changed

+29
-1
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ pip-wheel-metadata
4343

4444
# --- IDE ---
4545
.idea
46-
.vscode
4746

4847
# --- JS ---
4948
node_modules

.vscode/launch.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
5+
{
6+
"name": "Python: Uvicorn main:app",
7+
"type": "debugpy",
8+
"request": "launch",
9+
"module": "uvicorn",
10+
"args": [
11+
"main:app",
12+
"--reload"
13+
],
14+
"jinja": true,
15+
"justMyCode": false,
16+
"console": "integratedTerminal",
17+
"env": {
18+
"PYTHONPATH": "./src"
19+
}
20+
}
21+
]
22+
}

.vscode/settings.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"python.testing.pytestArgs": [
3+
"tests"
4+
],
5+
"python.testing.unittestEnabled": false,
6+
"python.testing.pytestEnabled": true
7+
}

0 commit comments

Comments
 (0)