]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Bump mypy to 1.15 (GH-133405) (#133429)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 5 May 2025 10:54:56 +0000 (12:54 +0200)
committerGitHub <noreply@github.com>
Mon, 5 May 2025 10:54:56 +0000 (10:54 +0000)
Bump mypy to 1.15 (GH-133405)
(cherry picked from commit 8467026ed66ca3abefe3a13860d2633eae3d7164)

Co-authored-by: sobolevn <mail@sobolevn.me>
Lib/_pyrepl/commands.py
Lib/test/libregrtest/setup.py
Tools/requirements-dev.txt

index cbb6d85f68325752c790a3e81aea2e28ce7b4cbc..296211a4aadda53fc45aa01c593b66057115f6ce 100644 (file)
@@ -437,7 +437,7 @@ class help(Command):
         import _sitebuiltins
 
         with self.reader.suspend():
-            self.reader.msg = _sitebuiltins._Helper()()  # type: ignore[assignment, call-arg]
+            self.reader.msg = _sitebuiltins._Helper()()  # type: ignore[assignment]
 
 
 class invalid_key(Command):
index ba57f06b4841d4db16fdb7cde1d4397decf424be..7277dcbc206276170236f571ad253130bc466c55 100644 (file)
@@ -42,7 +42,7 @@ def setup_process() -> None:
         faulthandler.enable(all_threads=True, file=stderr_fd)
 
         # Display the Python traceback on SIGALRM or SIGUSR1 signal
-        signals = []
+        signals: list[signal.Signals] = []
         if hasattr(signal, 'SIGALRM'):
             signals.append(signal.SIGALRM)
         if hasattr(signal, 'SIGUSR1'):
index b1d0e0235418fe38c3b217b66108bfb2ea450f3a..acbc7b7b71fba83462c6aacc9adfdda1c872c450 100644 (file)
@@ -1,6 +1,6 @@
 # Requirements file for external linters and checks we run on
 # Tools/clinic, Tools/cases_generator/, and Tools/peg_generator/ in CI
-mypy==1.13
+mypy==1.15
 
 # needed for peg_generator:
 types-psutil==5.9.5.20240423