From f3b6bcb74895870b464c1cf8a58b9beccf8cf61e Mon Sep 17 00:00:00 2001 From: herr kaste Date: Mon, 16 Oct 2023 13:55:27 +0200 Subject: [PATCH] Remove two mypy ignore comments As mypy gets smarter we can remove two ignore comments. --- core/git_command.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/git_command.py b/core/git_command.py index bf74330a6..7938c8dde 100755 --- a/core/git_command.py +++ b/core/git_command.py @@ -138,8 +138,8 @@ def on_line(line: bytes, on_stdout = partial(on_line, tag=Out) on_stderr = partial(on_line, tag=Err) - out_f = run_as_future(map_, read_linewise(proc.stdout), on_stdout) # type: ignore[arg-type] - err_f = run_as_future(map_, read_bytewise(proc.stderr), on_stderr) # type: ignore[arg-type] + out_f = run_as_future(map_, read_linewise(proc.stdout), on_stdout) + err_f = run_as_future(map_, read_bytewise(proc.stderr), on_stderr) delay = chain([1, 2, 4, 8, 15, 30], repeat(50)) with proc: