bidict/.vscode/tasks.json

93 lines
2.5 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "Run tox (all targets)",
"type": "process",
"command": "tox",
"group": "test",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "dedicated",
"showReuseMessage": false,
"clear": false
}
},
{
"label": "Lint",
"type": "process",
"command": "pre-commit",
"args": [
"run",
"--all-files"
],
"group": "test",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "dedicated",
"showReuseMessage": false,
"clear": false
}
},
{
"label": "Run tests",
"type": "process",
"command": "pytest",
"isTestCommand": true,
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "dedicated",
"showReuseMessage": false,
"clear": false
}
},
{
"label": "Build docs",
"type": "process",
"command": "tox",
"args": [
"-e",
"docs"
],
"group": "build",
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "dedicated",
"showReuseMessage": false,
"clear": true
}
},
{
"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": []
}
]
}