From b75ddd27a618cb05171506208e74f1151aea9e7b Mon Sep 17 00:00:00 2001 From: Ruben Vorderman Date: Tue, 15 Oct 2024 14:33:31 +0200 Subject: [PATCH] Ignore complex mypy issue --- src/dnaio/multipleend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dnaio/multipleend.py b/src/dnaio/multipleend.py index 3d572e5a..2f03609f 100644 --- a/src/dnaio/multipleend.py +++ b/src/dnaio/multipleend.py @@ -202,7 +202,7 @@ def __init__( self._stack = contextlib.ExitStack() self._writers: List[IO] = [ self._stack.enter_context( - opener(file, mode + "b") if not hasattr(file, "write") else file + opener(file, mode + "b") if not hasattr(file, "write") else file # type: ignore ) for file in self._files ]