testsAndMisc/python_pkg
Krzysztof kuhy Rudnicki adf2e402df 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 `meta/` 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 these three knobs.

What the stale target was hiding: `datetime.timezone.utc` where `datetime.UTC`
is now correct (UP017), and ruff's stable formatter applying PEP 758 --
`except (A, B):` becomes `except A, B:`. That makes the source 3.14-only at the
syntax level, which is what `requires-python = ">=3.14"` already promised; kuhy
chose it deliberately over holding ruff a release back (2026-08-29).

Also drops a comment in `wsg_grabber/models.py` that the bump makes false: it
explained why the file used ``str, Enum`` instead of ``StrEnum`` under mypy at
3.10, sitting directly above a ``class Verdict(StrEnum)`` that had already
stopped obeying it.

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:50:39 +02:00
..
android_ui Find Material text fields by their hint label 2026-08-27 20:39:46 +02:00
app_icons Register betting_sim with the shared icon generator 2026-08-28 10:00:29 +02:00
archwiki_rag Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00
artgate Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00
brother_printer Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00
code_tutor Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00
endurain_import Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00
live_calc Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00
morning_routine Remove wake_alarm (extracted to kuhyx/wake-alarm) and fix the orchestrator 2026-06-22 12:47:06 +02:00
random_jpg Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00
shared Migrate wake_alarm to the shared gatelock backend 2026-06-22 07:33:49 +02:00
syncyomi_guard Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00
tests Instrument: multi-line array elements are not statements; clear arch_perf_fixes 2026-08-22 20:13:45 +02:00
token_audit Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00
vscode_optimizer Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00
wsg_grabber Grade against 3.14 too, not just run on it 2026-08-29 11:50:39 +02:00
__init__.py feat(screen_locker): harden table tennis verification, remove running option 2026-02-02 21:38:52 +01:00
.gitignore screen_locker: enhance workout logging and UI 2025-12-02 23:22:13 +01:00
conftest.py test: achieve 100% branch coverage across all python_pkg packages 2026-03-21 17:51:36 +01:00