mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
f48c4512d3
* updated automation tasks and commands, with alias for the time being * Restore aggregate test exclusions Preserve the legacy all-tests scope for test --all by excluding lab and devui from the default aggregate sweep, while still allowing explicit package selection. Also ignore hidden/generated test directories such as .mypy_cache during aggregate discovery. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * updated versions in pre-commit --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
248 lines
6.5 KiB
JSON
248 lines
6.5 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Run Checks",
|
|
"type": "shell",
|
|
"command": "uv",
|
|
"args": [
|
|
"run",
|
|
"poe",
|
|
"check"
|
|
],
|
|
"problemMatcher": {
|
|
"owner": "python",
|
|
"fileLocation": [
|
|
"relative",
|
|
"${workspaceFolder}"
|
|
],
|
|
"pattern": {
|
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"message": 4
|
|
}
|
|
},
|
|
"presentation": {
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "Syntax",
|
|
"type": "shell",
|
|
"command": "uv",
|
|
"args": [
|
|
"run",
|
|
"poe",
|
|
"syntax",
|
|
],
|
|
"problemMatcher": {
|
|
"owner": "python",
|
|
"fileLocation": [
|
|
"relative",
|
|
"${workspaceFolder}"
|
|
],
|
|
"pattern": {
|
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"message": 4
|
|
}
|
|
},
|
|
"presentation": {
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "Syntax (format only)",
|
|
"type": "shell",
|
|
"command": "uv",
|
|
"args": [
|
|
"run",
|
|
"poe",
|
|
"syntax",
|
|
"-F",
|
|
],
|
|
"problemMatcher": {
|
|
"owner": "python",
|
|
"fileLocation": [
|
|
"relative",
|
|
"${workspaceFolder}"
|
|
],
|
|
"pattern": {
|
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"message": 4
|
|
}
|
|
},
|
|
"presentation": {
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "Syntax (check only)",
|
|
"type": "shell",
|
|
"command": "uv",
|
|
"args": [
|
|
"run",
|
|
"poe",
|
|
"syntax",
|
|
"-C",
|
|
],
|
|
"problemMatcher": {
|
|
"owner": "python",
|
|
"fileLocation": [
|
|
"relative",
|
|
"${workspaceFolder}"
|
|
],
|
|
"pattern": {
|
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"message": 4
|
|
}
|
|
},
|
|
"presentation": {
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "Mypy",
|
|
"type": "shell",
|
|
"command": "uv",
|
|
"args": [
|
|
"run",
|
|
"poe",
|
|
"mypy",
|
|
],
|
|
"problemMatcher": {
|
|
"owner": "python",
|
|
"fileLocation": [
|
|
"relative",
|
|
"${workspaceFolder}"
|
|
],
|
|
"pattern": {
|
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"message": 4
|
|
}
|
|
},
|
|
"presentation": {
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "Pyright",
|
|
"type": "shell",
|
|
"command": "uv",
|
|
"args": [
|
|
"run",
|
|
"poe",
|
|
"pyright",
|
|
],
|
|
"problemMatcher": {
|
|
"owner": "python",
|
|
"fileLocation": [
|
|
"relative",
|
|
"${workspaceFolder}"
|
|
],
|
|
"pattern": {
|
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"message": 4
|
|
}
|
|
},
|
|
"presentation": {
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "Test",
|
|
"type": "shell",
|
|
"command": "uv",
|
|
"args": [
|
|
"run",
|
|
"poe",
|
|
"test",
|
|
],
|
|
"problemMatcher": {
|
|
"owner": "python",
|
|
"fileLocation": [
|
|
"relative",
|
|
"${workspaceFolder}"
|
|
],
|
|
"pattern": {
|
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"message": 4
|
|
}
|
|
},
|
|
"presentation": {
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "Create Venv",
|
|
"type": "shell",
|
|
"command": "uv",
|
|
"args": [
|
|
"run",
|
|
"poe",
|
|
"venv",
|
|
"-P",
|
|
"${input:py_version}"
|
|
],
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "new"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Install all dependencies",
|
|
"type": "shell",
|
|
"command": "uv",
|
|
"args": [
|
|
"run",
|
|
"poe",
|
|
"setup",
|
|
"-P",
|
|
"${input:py_version}"
|
|
],
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "new"
|
|
},
|
|
"problemMatcher": []
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"type": "pickString",
|
|
"options": [
|
|
"3.10",
|
|
"3.11",
|
|
"3.12",
|
|
"3.13",
|
|
"3.14"
|
|
],
|
|
"id": "py_version",
|
|
"description": "Python version",
|
|
"default": "3.13"
|
|
}
|
|
]
|
|
}
|