| 1 |
{ |
| 2 |
"version": "2.0.0", |
| 3 |
"tasks": [ |
| 4 |
{ |
| 5 |
"label": "Run tox (all targets)", |
| 6 |
"type": "process", |
| 7 |
"command": "tox", |
| 8 |
"group": "test", |
| 9 |
"presentation": { |
| 10 |
"echo": true, |
| 11 |
"reveal": "always", |
| 12 |
"focus": false, |
| 13 |
"panel": "dedicated", |
| 14 |
"showReuseMessage": false, |
| 15 |
"clear": false |
| 16 |
} |
| 17 |
}, |
| 18 |
{ |
| 19 |
"label": "Lint", |
| 20 |
"type": "process", |
| 21 |
"command": "tox", |
| 22 |
"args": [ |
| 23 |
"-e", |
| 24 |
"lint" |
| 25 |
], |
| 26 |
"group": "test", |
| 27 |
"presentation": { |
| 28 |
"echo": true, |
| 29 |
"reveal": "always", |
| 30 |
"focus": false, |
| 31 |
"panel": "dedicated", |
| 32 |
"showReuseMessage": false, |
| 33 |
"clear": false |
| 34 |
} |
| 35 |
}, |
| 36 |
{ |
| 37 |
"label": "Run tests", |
| 38 |
"type": "process", |
| 39 |
"command": "pytest", |
| 40 |
"isTestCommand": true, |
| 41 |
"presentation": { |
| 42 |
"echo": true, |
| 43 |
"reveal": "always", |
| 44 |
"focus": false, |
| 45 |
"panel": "dedicated", |
| 46 |
"showReuseMessage": false, |
| 47 |
"clear": false |
| 48 |
} |
| 49 |
}, |
| 50 |
{ |
| 51 |
"label": "Build docs", |
| 52 |
"type": "process", |
| 53 |
"command": "tox", |
| 54 |
"args": [ |
| 55 |
"-e", |
| 56 |
"docs" |
| 57 |
], |
| 58 |
"group": "build", |
| 59 |
"presentation": { |
| 60 |
"echo": true, |
| 61 |
"reveal": "silent", |
| 62 |
"focus": false, |
| 63 |
"panel": "dedicated", |
| 64 |
"showReuseMessage": false, |
| 65 |
"clear": true |
| 66 |
} |
| 67 |
}, |
| 68 |
{ |
| 69 |
"label": "Host docs", |
| 70 |
"type": "process", |
| 71 |
"command": "python", |
| 72 |
"args": [ |
| 73 |
"-m", |
| 74 |
"http.server" |
| 75 |
], |
| 76 |
"isBackground": true, |
| 77 |
"options": { |
| 78 |
"cwd": "${workspaceFolder}/docs/_build/html" |
| 79 |
}, |
| 80 |
"dependsOn": "Build docs", |
| 81 |
"presentation": { |
| 82 |
"echo": true, |
| 83 |
"reveal": "silent", |
| 84 |
"focus": false, |
| 85 |
"panel": "dedicated", |
| 86 |
"showReuseMessage": false, |
| 87 |
"clear": true |
| 88 |
}, |
| 89 |
"problemMatcher": [] |
| 90 |
} |
| 91 |
] |
| 92 |
} |