chore: move the type check to mypy 2.4.1

mypy 2 checks against Python 3.10 at the oldest, so the target moves
there; install.py's 3.8 floor stays held by vermin. Of the errors it
reports, three were new rather than reworded. A list of links reused the
name of the page list in the same function, a tuple key was spelled with
a star unpack mypy 2.4 misreads, and torrentzip's Sink took bytes where a
bytearray is passed. The baseline is synced to the new wording.
This commit is contained in:
Abdessamad Derraz committed 2026-11-12 12:35:38 +01:00
1 parent 7d6efc3522
commit 8e125e1d18
5 files changed
+365 -374

No files matched your search

+1 -1
View File
@@ -180,7 +180,7 @@ jobs:
# what this job has installed does not change the result.
- name: Type-check the scripts and the installer
run: |
pip install "mypy==1.18.2" "mypy-baseline==0.7.4"
pip install "mypy==2.4.1" "mypy-baseline==0.7.4"
mypy > "$RUNNER_TEMP/mypy.txt" || true
mypy-baseline filter --no-colors < "$RUNNER_TEMP/mypy.txt"