From c5ce9744b291d1b93c724384154992f440489f08 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Thu, 16 Dec 2021 22:56:02 +0100 Subject: Fix mypy errors --- run_project_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'run_project_tests.py') diff --git a/run_project_tests.py b/run_project_tests.py index 176a938..822cf0b 100755 --- a/run_project_tests.py +++ b/run_project_tests.py @@ -313,7 +313,7 @@ class StopException(Exception): def __init__(self) -> None: super().__init__('Stopped by user') -def stop_handler(signal: signal.Signals, frame: T.Optional['FrameType']) -> None: +def stop_handler(signal: int, frame: T.Optional['FrameType']) -> None: global stop stop = True signal.signal(signal.SIGINT, stop_handler) -- cgit v1.1