mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Bump mypy to 1.15 (#133405)
This commit is contained in:
parent
8d0e07eb89
commit
8467026ed6
3 changed files with 3 additions and 3 deletions
|
@ -439,7 +439,7 @@ class help(Command):
|
||||||
import _sitebuiltins
|
import _sitebuiltins
|
||||||
|
|
||||||
with self.reader.suspend():
|
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):
|
class invalid_key(Command):
|
||||||
|
|
|
@ -40,7 +40,7 @@ def setup_process() -> None:
|
||||||
faulthandler.enable(all_threads=True, file=stderr_fd)
|
faulthandler.enable(all_threads=True, file=stderr_fd)
|
||||||
|
|
||||||
# Display the Python traceback on SIGALRM or SIGUSR1 signal
|
# Display the Python traceback on SIGALRM or SIGUSR1 signal
|
||||||
signals = []
|
signals: list[signal.Signals] = []
|
||||||
if hasattr(signal, 'SIGALRM'):
|
if hasattr(signal, 'SIGALRM'):
|
||||||
signals.append(signal.SIGALRM)
|
signals.append(signal.SIGALRM)
|
||||||
if hasattr(signal, 'SIGUSR1'):
|
if hasattr(signal, 'SIGUSR1'):
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Requirements file for external linters and checks we run on
|
# Requirements file for external linters and checks we run on
|
||||||
# Tools/clinic, Tools/cases_generator/, and Tools/peg_generator/ in CI
|
# Tools/clinic, Tools/cases_generator/, and Tools/peg_generator/ in CI
|
||||||
mypy==1.13
|
mypy==1.15
|
||||||
|
|
||||||
# needed for peg_generator:
|
# needed for peg_generator:
|
||||||
types-psutil==6.0.0.20240901
|
types-psutil==6.0.0.20240901
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue