Skip to content

Commit

Permalink
Address mypy issue "error: Unused "type: ignore" comment"
Browse files Browse the repository at this point in the history
  • Loading branch information
hartwork committed Jan 2, 2023
1 parent f272e0f commit e022071
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ansi2html/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e022071

Please sign in to comment.