Add year-over-year comparison chart mode #15
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/15/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
min monthly/yearly groupings): yearly view shows Jan 1 → today YTD bars per year; monthly view shows grouped bars with one cluster per month and one bar per year+/-in comparison mode adjusts the number of prior years shown (capped at available data); scroll, bar-select, and edit are disabled in comparison modeget_ytd_by_year()andget_monthly_comparison()DB methodsTest plan
uv run pytest tests/ -v— 92 tests, all passinggto switch to monthly grouping, pressmtwice to reach Comparison — grouped bars render with legend+/-to adjust number of years; verify cap at available data and minimum 1nwith backfill ON by default; verify dry days are filled with 0.0.pre-commit-config.yaml🔴
tyis the official Astral type checker. Theastral-sh/ty-pre-commitrepo follows the same naming convention asastral-sh/ruff-pre-commitandastral-sh/uv-pre-commit. This is the correct hook..pre-commit-config.yaml🔴
--format pylock.tomlis a validuv exportformat (added in uv 0.5+). This is an established project convention;pylock.tomlis generated fromuv.lockand committed alongside dependency changes.