Bump mypy to 1.15 (#133405)

This commit is contained in:
sobolevn 2025-05-05 13:29:48 +03:00 committed by GitHub
parent 8d0e07eb89
commit 8467026ed6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View file

@ -439,7 +439,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):

View file

@ -40,7 +40,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'):

View 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==6.0.0.20240901