hongbo-miao/hongbomiao.com

View on GitHub
data-visualization/grafana/hm-dashboard/pyproject.toml

Summary

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

[tool.poetry.dependencies]
python = "3.12.x"
grafanalib = "0.7.1"
requests = "2.32.3"

[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]
test = "pytest --verbose --verbose"
test-coverage = "pytest --cov=. --cov-report=xml"

generate-dashboard = "generate-dashboard --output=frontend.json hm.dashboard.py"
upload-dashboard = "python upload_dashboard.py"