From 99476f37e7af75a729aa7bbf301e94aa8da57196 Mon Sep 17 00:00:00 2001 From: Takeshi KOMIYA Date: Thu, 12 Mar 2020 01:25:18 +0900 Subject: Fix mypy violations (with mypy-0.770) --- sphinx/util/console.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sphinx/util/console.py') diff --git a/sphinx/util/console.py b/sphinx/util/console.py index f4c80d288..08aad8ab1 100644 --- a/sphinx/util/console.py +++ b/sphinx/util/console.py @@ -35,7 +35,7 @@ def get_terminal_width() -> int: import termios import fcntl import struct - call = fcntl.ioctl(0, termios.TIOCGWINSZ, + call = fcntl.ioctl(0, termios.TIOCGWINSZ, # type: ignore struct.pack('hhhh', 0, 0, 0, 0)) height, width = struct.unpack('hhhh', call)[:2] terminal_width = width -- cgit v1.2.1