generated from epics-containers/dev-e7
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdev-u22.code-workspace
65 lines (65 loc) · 1.93 KB
/
dev-u22.code-workspace
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"folders": [
{
"path": "."
},
],
"settings": {
"python.linting.pylintEnabled": false,
"python.linting.flake8Enabled": true,
"python.linting.mypyEnabled": true,
"python.linting.enabled": true,
"python.testing.pytestArgs": [],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.formatting.provider": "black",
"python.languageServer": "Pylance",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "Debug Unit Test",
"type": "python",
"request": "launch",
"justMyCode": false,
"program": "${file}",
"purpose": [
"debug-test"
],
"console": "integratedTerminal",
"env": {
// The default config in setup.cfg's "[tool:pytest]" adds coverage.
// Cannot have coverage and debugging at the same time.
// https://github.com/microsoft/vscode-python/issues/693
"PYTEST_ADDOPTS": "--no-cov"
},
}
]
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "Docs, Lint and Tests with coverage",
"command": "tox -p",
"options": {
"cwd": "${workspaceRoot}"
},
"problemMatcher": [],
}
]
},
"extensions": {
"recommendations": [
"ms-vscode.cpptools-extension-pack",
"ms-python.vscode-pylance",
"ryanluker.vscode-coverage-gutters"
]
}
}