Resolve [YEAR] for template read vs write destinations #7

Merged
rhino merged 1 commits from cursor/year-placeholder-write-max into main 2026-10-25 06:50:38 +00:00
Owner

Summary

  • Replace hard-coded year folders in file_data.csv with a [YEAR] placeholder.
  • Read templates from the largest year dir that already has matching sheets; write new QC files into the largest existing year dir (no sheet check).
  • Document the behavior in the README and add unit tests.

Test plan

  • uv run pytest -q tests/test_core.py
  • Create a datasheet where template exists only under an older year and a newer empty year folder exists; confirm write lands in the newer year.
## Summary - Replace hard-coded year folders in `file_data.csv` with a `[YEAR]` placeholder. - Read templates from the largest year dir that already has matching sheets; write new QC files into the largest existing year dir (no sheet check). - Document the behavior in the README and add unit tests. ## Test plan - [ ] `uv run pytest -q tests/test_core.py` - [ ] Create a datasheet where template exists only under an older year and a newer empty year folder exists; confirm write lands in the newer year.
rhino added 1 commit 2026-10-25 06:48:40 +00:00
Resolve [YEAR] separately for template read and write destinations.
Some checks failed
Mirror to Gitea / mirror (push) Has been cancelled
c2b10ac856
Co-authored-by: Cursor <cursoragent@cursor.com>
rhino merged commit b17adb1257 into main 2026-10-25 06:50:38 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rhino/xlsx-clean#7