2022-02-28 03:58:52 +00:00
|
|
|
{
|
|
|
|
"version": "2.0.0",
|
|
|
|
"tasks": [
|
|
|
|
{
|
2022-02-28 14:56:38 +00:00
|
|
|
"label": "Run tox (all targets)",
|
2022-02-28 03:58:52 +00:00
|
|
|
"type": "process",
|
|
|
|
"command": "tox",
|
|
|
|
"group": "test",
|
|
|
|
"presentation": {
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "always",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "dedicated",
|
|
|
|
"showReuseMessage": false,
|
|
|
|
"clear": false
|
|
|
|
}
|
|
|
|
},
|
2022-02-28 14:56:38 +00:00
|
|
|
{
|
|
|
|
"label": "Lint",
|
|
|
|
"type": "process",
|
|
|
|
"command": "tox",
|
|
|
|
"args": [
|
|
|
|
"-e",
|
|
|
|
"lint"
|
|
|
|
],
|
|
|
|
"group": "test",
|
|
|
|
"presentation": {
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "always",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "dedicated",
|
|
|
|
"showReuseMessage": false,
|
|
|
|
"clear": false
|
|
|
|
}
|
|
|
|
},
|
2022-02-28 03:58:52 +00:00
|
|
|
{
|
|
|
|
"label": "Run tests",
|
|
|
|
"type": "process",
|
|
|
|
"command": "python",
|
|
|
|
"args": [
|
|
|
|
"run_tests.py"
|
|
|
|
],
|
|
|
|
"isTestCommand": true,
|
|
|
|
"presentation": {
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "always",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "dedicated",
|
|
|
|
"showReuseMessage": false,
|
|
|
|
"clear": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Build docs",
|
|
|
|
"type": "process",
|
2022-02-28 14:56:38 +00:00
|
|
|
"command": "tox",
|
|
|
|
"args": [
|
|
|
|
"-e",
|
|
|
|
"docs"
|
|
|
|
],
|
2022-02-28 03:58:52 +00:00
|
|
|
"group": "build",
|
|
|
|
"presentation": {
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "silent",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "dedicated",
|
|
|
|
"showReuseMessage": false,
|
|
|
|
"clear": true
|
|
|
|
}
|
2022-03-01 06:26:33 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"label": "Host docs",
|
|
|
|
"type": "process",
|
|
|
|
"command": "python",
|
|
|
|
"args": [
|
|
|
|
"-m",
|
|
|
|
"http.server"
|
|
|
|
],
|
|
|
|
"isBackground": true,
|
|
|
|
"options": {
|
|
|
|
"cwd": "${workspaceFolder}/docs/_build/html"
|
|
|
|
},
|
|
|
|
"dependsOn": "Build docs",
|
|
|
|
"presentation": {
|
|
|
|
"echo": true,
|
|
|
|
"reveal": "silent",
|
|
|
|
"focus": false,
|
|
|
|
"panel": "dedicated",
|
|
|
|
"showReuseMessage": false,
|
|
|
|
"clear": true
|
|
|
|
},
|
|
|
|
"problemMatcher": []
|
2022-02-28 03:58:52 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|