hongbo-miao/hongbomiao.com

View on GitHub
data-orchestration/hm-prefect/workflows/greet/pyproject.toml

Summary

Maintainability
Test Coverage
[tool.poetry]
package-mode = false

[tool.poetry.dependencies]
python = "3.12.x"
prefect = "2.20.9"
pydantic = "2.8.2"

[tool.poetry.group.dev.dependencies]
poethepoet = "0.29.0"
pytest = "8.3.3"
pytest-cov = "5.0.0"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.poe.tasks]
prefect-server-start = "prefect server start"
prefect-agent-start = "prefect agent start"
prefect-profile-use = "prefect profile use"

set-up = "python tools/set_up/main.py"
dev = "python src/main.py"
test = "pytest --verbose --verbose"
test-coverage = "pytest --cov=. --cov-report=xml"
build = "prefect deployment build src/main.py:greet --name=greet --infra-block=kubernetes-job/greet-kubernetes-job-block --apply"
run = "prefect deployment run greet/greet"