From 824a9b8f299124a587fe149d39395738f75faea2 Mon Sep 17 00:00:00 2001 From: pyob-bot Date: Thu, 28 May 2026 09:28:16 +0000 Subject: [PATCH] Refactor: Add explicit type annotation for input buffer in Windows input handling --- src/pyob/core_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pyob/core_utils.py b/src/pyob/core_utils.py index 91877ab..6268f5b 100644 --- a/src/pyob/core_utils.py +++ b/src/pyob/core_utils.py @@ -257,7 +257,7 @@ def _get_input_with_timeout(self, timeout: int) -> str: def _win32_input(self, start_time: float, timeout: int) -> str: import msvcrt # type: ignore - input_str = "" + input_str: str = "" prev_line_len = 0 while True: remaining = int(timeout - (time.time() - start_time))