Skip to content

Commit df1669e

Browse files
[3.13] Bump mypy to 1.15 (pythonGH-133405) (python#133429)
Bump mypy to 1.15 (pythonGH-133405) (cherry picked from commit 8467026) Co-authored-by: sobolevn <[email protected]>
1 parent e89ca39 commit df1669e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Lib/_pyrepl/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ def do(self) -> None:
437437
import _sitebuiltins
438438

439439
with self.reader.suspend():
440-
self.reader.msg = _sitebuiltins._Helper()() # type: ignore[assignment, call-arg]
440+
self.reader.msg = _sitebuiltins._Helper()() # type: ignore[assignment]
441441

442442

443443
class invalid_key(Command):

Lib/test/libregrtest/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def setup_process() -> None:
4242
faulthandler.enable(all_threads=True, file=stderr_fd)
4343

4444
# Display the Python traceback on SIGALRM or SIGUSR1 signal
45-
signals = []
45+
signals: list[signal.Signals] = []
4646
if hasattr(signal, 'SIGALRM'):
4747
signals.append(signal.SIGALRM)
4848
if hasattr(signal, 'SIGUSR1'):

Tools/requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Requirements file for external linters and checks we run on
22
# Tools/clinic, Tools/cases_generator/, and Tools/peg_generator/ in CI
3-
mypy==1.13
3+
mypy==1.15
44

55
# needed for peg_generator:
66
types-psutil==5.9.5.20240423

0 commit comments

Comments
 (0)