Skip to content

Commit 8467026

Browse files
authored
Bump mypy to 1.15 (#133405)
1 parent 8d0e07e commit 8467026

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
@@ -439,7 +439,7 @@ def do(self) -> None:
439439
import _sitebuiltins
440440

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

444444

445445
class invalid_key(Command):

Lib/test/libregrtest/setup.py

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

4242
# Display the Python traceback on SIGALRM or SIGUSR1 signal
43-
signals = []
43+
signals: list[signal.Signals] = []
4444
if hasattr(signal, 'SIGALRM'):
4545
signals.append(signal.SIGALRM)
4646
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==6.0.0.20240901

0 commit comments

Comments
 (0)