Files
Eduard van Valkenburg f48c4512d3 Python: Simplify Python Poe tasks and unify package selectors (#4722)
* 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>
2026-03-18 18:39:11 +00:00

40 lines
1.1 KiB
TOML

[tool.poe.tasks.syntax]
help = "Run Ruff formatting and Ruff checks for this package."
sequence = ["fmt", "lint"]
[tool.poe.tasks.fmt]
help = "DEPRECATED: Use `syntax --format` instead."
cmd = "ruff format"
[tool.poe.tasks.format]
help = "DEPRECATED: Use `syntax --format` instead."
ref = "fmt"
[tool.poe.tasks.lint]
help = "DEPRECATED: Use `syntax --check` instead."
cmd = "ruff check"
[tool.poe.tasks.pyright]
help = "Run Pyright for this package."
cmd = "pyright"
[tool.poe.tasks.publish]
help = "Publish this package with uv."
cmd = "uv publish"
[tool.poe.tasks.clean-dist]
help = "Remove generated dist artifacts for this package."
cmd = "rm -rf dist"
[tool.poe.tasks.build-package]
help = "Build distribution artifacts for this package."
cmd = "uv build"
[tool.poe.tasks.move-dist]
help = "Move built package artifacts into the workspace dist directory."
cmd = "sh -c 'mkdir -p ../../dist && mv dist/* ../../dist/ 2>/dev/null || true'"
[tool.poe.tasks.build]
help = "Build this package and move its artifacts into the workspace dist directory."
sequence = ["build-package", "move-dist"]