diet-guard/diet_guard/sync_merge
Krzysztof kuhy Rudnicki 42d15b6a91 Grade against 3.14 too, not just run on it
`requires-python` and the CI pin already said 3.14, but ruff, mypy and pylint
were still grading against 3.10 -- three tools judging an interpreter nothing
runs any more, and ruff withholding the pyupgrade fixes that only become safe
at the newer target. `pin_ci_python.py` rewrites exactly these three knobs.

The fixes ruff then had to make are what the stale target was hiding: 18 files
on `datetime.timezone.utc` instead of `datetime.UTC` (UP017), plus ruff's
stable formatter applying PEP 758 -- `except (A, B):` becomes `except A, B:`.
That second one makes the source 3.14-only at the syntax level, which is
exactly what `requires-python = ">=3.14"` already promised; kuhy chose it
deliberately over holding ruff a release back (2026-08-29).

ruff, ruff-format, mypy --strict and pylint all clean at the new target.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SfnJmxxsZ534AKk16rC2Gr
2026-08-29 11:35:06 +02:00
..
__init__.py feat: sync the catering credential as its own document 2026-08-23 08:12:30 +02:00
_banks.py Grade against 3.14 too, not just run on it 2026-08-29 11:35:06 +02:00
_budget.py Grade against 3.14 too, not just run on it 2026-08-29 11:35:06 +02:00
_clock.py Grade against 3.14 too, not just run on it 2026-08-29 11:35:06 +02:00
_daylog.py Split _sync.py and its tests; extract the gate fixtures from conftest 2026-08-15 18:51:18 +02:00
_kuchnia.py Grade against 3.14 too, not just run on it 2026-08-29 11:35:06 +02:00
_schedule.py Grade against 3.14 too, not just run on it 2026-08-29 11:35:06 +02:00