diet-guard/scripts
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
..
build_kuchnia_credential_fixture.py feat: carry the catering credential to the phone 2026-08-23 08:25:27 +02:00
build_kuchnia_fixture.py feat: mirror the catering parser and slot spread in Dart, gated by one fixture 2026-08-23 08:00:54 +02:00
bump_patch_version.sh Bump the patch version on every commit 2026-08-09 23:04:17 +02:00
check_dependency_freshness.sh Latest stable dependencies, and the gate that keeps them there 2026-08-28 15:23:13 +02:00
check_file_length.sh Enforce the shared 250-line file cap 2026-08-15 16:35:01 +02:00
check_md_naming.sh Adopt the four markdown namespaces and gate them 2026-08-24 15:57:20 +02:00
check_no_crdt_sync_override.sh Add Google sign-in support for the Firebase sync account 2026-08-12 23:36:10 +02:00
check_patch_targets.py Fix check_patch_targets' own fail-open: put the repo root on sys.path 2026-08-15 21:27:24 +02:00
check_requirements_sync.py Add CI-mirror pre-push gate + requirements-sync check 2026-07-11 17:58:49 +02:00
ci_mirror.sh Stop two keyboard tests hanging, and make the CI mirror mirror CI 2026-08-04 21:50:15 +02:00
probe_kuchnia_auth.py Grade against 3.14 too, not just run on it 2026-08-29 11:35:06 +02:00
probe_kuchnia_details.py Grade against 3.14 too, not just run on it 2026-08-29 11:35:06 +02:00
probe_kuchnia_shape.py feat: import Kuchnia Wikinga catering deliveries into the food bank 2026-08-22 23:04:22 +02:00
probe_kuchnia.py Grade against 3.14 too, not just run on it 2026-08-29 11:35:06 +02:00
setup_mcp.sh Fix pre-existing CI failures (deps, lint, whitespace) 2026-07-10 23:55:56 +02:00
sync_freshness.py feat: gate a phone deploy on a peer already holding the device's state 2026-08-23 07:41:26 +02:00