Skip to content

Fix: Suppress type checker error for msvcrt import#294

Merged
vicsanity623 merged 1 commit into
mainfrom
pyob-evolution-v1-1778647736
May 13, 2026
Merged

Fix: Suppress type checker error for msvcrt import#294
vicsanity623 merged 1 commit into
mainfrom
pyob-evolution-v1-1778647736

Conversation

@pyob-bot
Copy link
Copy Markdown
Collaborator

Summary of Changes

Added a # type: ignore comment to the msvcrt import within the _win32_input method in src/pyob/core_utils.py.

Technical Impact

This change resolves static type checking errors (such as those raised by mypy) that occur on non-Windows platforms where the msvcrt module is unavailable. This ensures that the codebase remains type-safe and compliant across cross-platform environments without affecting runtime behavior.

@vicsanity623 vicsanity623 merged commit 6ec1a13 into main May 13, 2026
1 check passed
@vicsanity623 vicsanity623 deleted the pyob-evolution-v1-1778647736 branch May 13, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants