mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-10 19:07:17 +01:00
sickdays: per-date pool, no cap or reason, add/remove today or later only, import_legacy for the migration. LWW state flip per date (no tombstones), Firebase RTDB sickdays-sync/devices/<uuid>/sick_days.json, HMAC audit trail. Readers fail closed (unreadable pool = not sick, logged); writers refuse a corrupt pool. Free-day cross-check via a lazily imported freedays predicate. earned_time: resolve(..., sick=True) floors the final shutdown at 20:00 (capped at the ceiling); gaming, terms and base unchanged. Result dataclasses moved to _resolution.py for the line cap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xfj1sxKH9VBPqpcAni8Jry
11 lines
297 B
Plaintext
11 lines
297 B
Plaintext
# Exact pins, enforced by the shared dependency-freshness gate: a `>=`
|
|
# floor is satisfied by anything newer, so it tells a checker nothing
|
|
# about whether this repo is actually current.
|
|
bandit[toml]==1.9.4
|
|
mypy==2.4.0
|
|
pre-commit==4.7.0
|
|
pylint==4.1.3
|
|
pytest==9.1.1
|
|
pytest-cov==7.1.0
|
|
ruff==0.17.1
|