.vscode/tasks.json
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Run tests",
"type": "shell",
"command": "poetry run pytest"
},
{
"label": "Run pylint",
"type": "shell",
"command": "poetry run pylint --recursive=y .",
"problemMatcher": []
},
{
"label": "Run mypy",
"type": "shell",
"command": "poetry run mypy ${workspaceFolder}",
"problemMatcher": []
},
{
"label": "Run ruff",
"type": "shell",
"command": "poetry run ruff check ${workspaceFolder}",
"problemMatcher": []
},
{
"label": "Run sphinx-autobuild",
"type": "shell",
"command": "poetry run sphinx-autobuild ${workspaceFolder}/docs ${workspaceFolder}/build/doc --watch ${workspaceFolder}/secsgem --open-browser",
"problemMatcher": []
}
]
}