Skip to content

Commit 8d4e8ab

Browse files
committed
Fix: Suppress type checking errors for unix-specific imports
1 parent 7eb63a5 commit 8d4e8ab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/pyob/core_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@ def _win32_input(self, start_time: float, timeout: int) -> str:
288288
time.sleep(0.1)
289289

290290
def _unix_input(self, start_time: float, timeout: int) -> str:
291-
import termios
292-
import tty
291+
import termios # type: ignore
292+
import tty # type: ignore
293293

294294
input_str: str = ""
295295
fd = sys.stdin.fileno()

0 commit comments

Comments
 (0)