Skip to content

Commit c9bbd51

Browse files
committed
Update devcontainer settings for pytest configuration and formatting
1 parent 5564d11 commit c9bbd51

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,17 @@
2020
"ms-python.python",
2121
"yzhang.markdown-all-in-one"
2222
],
23-
"settings": {
24-
"python.defaultInterpreterPath": "./.venv/bin/python"
23+
"python.testing.pytestArgs": [
24+
"tests"
25+
],
26+
"python.testing.unittestEnabled": false,
27+
"python.testing.pytestEnabled": true,
28+
"[python]": {
29+
"editor.formatOnSave": true,
30+
"editor.defaultFormatter": "charliermarsh.ruff",
31+
"editor.codeActionsOnSave": {
32+
"source.organizeImports.ruff": "explicit"
33+
}
2534
}
2635
}
2736
}

0 commit comments

Comments
 (0)