Skip to content

fix: fix pyright unnecessary type ignore comment #1599

fix: fix pyright unnecessary type ignore comment

fix: fix pyright unnecessary type ignore comment #1599

Triggered via pull request December 18, 2024 04:58
Status Failure
Total duration 58s
Artifacts

pyright.yml

on: pull_request
Matrix: Pyright
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 6 warnings
Pyright (macos-latest, 3.11): instructor/multimodal.py#L362
Type of "append" is partially unknown   Type of "append" is "(object: Unknown, /) -> None" (reportUnknownMemberType)
Pyright (macos-latest, 3.11): instructor/multimodal.py#L364
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
Pyright (macos-latest, 3.11): instructor/multimodal.py#L367
Type of "append" is partially unknown   Type of "append" is "(object: Unknown, /) -> None" (reportUnknownMemberType)
Pyright (macos-latest, 3.11): instructor/multimodal.py#L369
Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
Pyright (macos-latest, 3.11)
4 errors
Pyright (ubuntu-latest, 3.11)
The job was canceled because "macos-latest_3_11" failed.
Pyright (ubuntu-latest, 3.11)
The operation was canceled.
Pyright (macos-latest, 3.10)
The job was canceled because "macos-latest_3_11" failed.
Pyright (macos-latest, 3.10)
The operation was canceled.
Pyright (ubuntu-latest, 3.9)
The job was canceled because "macos-latest_3_11" failed.
Pyright (ubuntu-latest, 3.9)
The operation was canceled.
Pyright (ubuntu-latest, 3.10)
The job was canceled because "macos-latest_3_11" failed.
Pyright (ubuntu-latest, 3.10)
The operation was canceled.
Pyright (macos-latest, 3.9)
The job was canceled because "macos-latest_3_11" failed.
Pyright (macos-latest, 3.9)
The operation was canceled.
Pyright (ubuntu-latest, 3.11)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Pyright (ubuntu-latest, 3.10)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Pyright (macos-latest, 3.9)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Pyright (ubuntu-latest, 3.9)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Pyright (macos-latest, 3.11)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Pyright (macos-latest, 3.10)
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/