Skip to content

Commit a670d2c

Browse files
committed
vscode settings: Add pytest setup and other good defaults.
1 parent cde8b32 commit a670d2c

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.vscode/settings.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"[python]": {
3+
"editor.formatOnSave": true,
4+
"editor.codeActionsOnSave": {
5+
"source.fixAll": "explicit",
6+
"source.organizeImports": "explicit"
7+
},
8+
"editor.defaultFormatter": "charliermarsh.ruff"
9+
},
10+
"python.testing.pytestArgs": [
11+
"locustfile.py"
12+
],
13+
"python.testing.unittestEnabled": false,
14+
"python.testing.pytestEnabled": true,
15+
"files.exclude": {
16+
".pytest_cache/**/*": true,
17+
"**/__pycache__": true,
18+
"**/.pytest_cache": true
19+
},
20+
}

0 commit comments

Comments
 (0)