mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-12 15:30:57 +01:00
`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 |
||
|---|---|---|
| .. | ||
| archive-billsplit-2026-08-23.json | ||
| archive-bucket-catch-poker-stakes-2026-08-23.json | ||
| ci-mirror-scoped-push-gate-2026-08-23.json | ||
| endurain-db-dedupe-2026-08-23.json | ||
| endurain-import-dedupe-and-adb-serial-2026-08-23.json | ||
| endurain-runnerup-webdav-2026-08-23.json | ||
| extract-android-guardian-2026-08-23.json | ||
| extract-digital-wellbeing-2026-08-23.json | ||
| extract-hosts-blocker-2026-08-23.json | ||
| extract-mtk-root-2026-08-23.json | ||
| extract-phone-focus-mode-2026-08-23.json | ||
| extract-system-maintenance-2026-08-23.json | ||
| extract-three-apps-2026-08-23.json | ||
| flatten-i3-and-misc-2026-08-23.json | ||
| flatten-linux-configuration-2026-08-23.json | ||
| hosts-guard-tests-2026-08-23.json | ||
| installer-cross-repo-fix-2026-08-24.json | ||
| nvidia-config-tests-2026-08-23.json | ||
| python-314-lint-target-2026-08-29.json | ||
| split-boot-repair-2026-08-23.json | ||
| suite-speedup-2026-08-23.json | ||
| template.json | ||
| thorium-repairs-tests-2026-08-23.json | ||
| token-audit-batching-axis-2026-08-28.json | ||
| ubuntu-perf-fixes-tests-2026-08-23.json | ||
| wire-shell-coverage-ratchet-2026-08-23.json | ||