mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-09-20 10:03:37 +00:00
mypy does not narrow on `platform.system()`, so Windows-based contributors get 8 spurious attr-defined/unused-ignore errors from the termios and resource imports. Switch to `sys.platform` comparisons, which mypy understands natively, and drop the now-unneeded type-ignore comments. Fixes #7400 Co-authored-by: Vidit Ostwal <110953813+Vidit-Ostwal@users.noreply.github.com>