- Add Dockerfile with multi-stage build using UV - Add --dry-run CLI flag to log metrics instead of submitting - Add comprehensive README with usage and metrics documentation - Fix ruff linter warnings - Add uv.lock for reproducible builds
35 lines
645 B
TOML
35 lines
645 B
TOML
[project]
|
|
name = "datacat"
|
|
version = "0.1.0"
|
|
description = "Collect metrics from Whisker Litter Robot devices and submit to Datadog"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"pylitterbot>=2025.0.0",
|
|
"datadog>=0.50.0",
|
|
"pyyaml>=6.0",
|
|
"python-dotenv>=1.0.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
datacat = "datacat:main"
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/datacat"]
|
|
|
|
[tool.ruff]
|
|
line-length = 100
|
|
target-version = "py312"
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "N", "W", "UP"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"ruff>=0.14.9",
|
|
]
|