Skip to content

Commit 3936b51

Browse files
committed
Bump mypy to 1.15
1 parent cf11b78 commit 3936b51

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

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'):

0 commit comments

Comments
 (0)