From e022071cff69fc8e6a796558f97e1135a1e1cb28 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Mon, 2 Jan 2023 20:35:20 +0100 Subject: [PATCH] Address mypy issue "error: Unused "type: ignore" comment" --- ansi2html/converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansi2html/converter.py b/ansi2html/converter.py index b31739e..8e7a306 100644 --- a/ansi2html/converter.py +++ b/ansi2html/converter.py @@ -797,7 +797,7 @@ def main() -> None: if hasattr(sys.stdin, "detach") and not isinstance( sys.stdin, io.StringIO ): # e.g. during tests - input_buffer = sys.stdin.detach() # type: ignore + input_buffer = sys.stdin.detach() sys.stdin = io.TextIOWrapper(input_buffer, opts.input_encoding, "replace") def _print(output_unicode: str, end: str = "\n") -> None: