Skip to content

Fix int/float typing in video_utils.py #2669

Fix int/float typing in video_utils.py

Fix int/float typing in video_utils.py #2669

Triggered via pull request January 31, 2024 11:39
Status Failure
Total duration 6m 28s
Artifacts

lint.yml

on: pull_request
python-source-and-configs  /  linux-job
2m 3s
python-source-and-configs / linux-job
c-source  /  linux-job
4m 5s
c-source / linux-job
python-types  /  linux-job
4m 18s
python-types / linux-job
bc
48s
bc
Fit to window
Zoom out
Zoom in

Annotations

1 error and 7 warnings
bc
Process completed with exit code 1.
bc: torchvision/datasets/video_utils.py#L206
Function VideoClips.compute_clips_for_video: fps changed from int to Optional[float]
bc: torchvision/datasets/video_utils.py#L206
Function VideoClips.compute_clips_for_video: frame_rate changed from Optional[int] to Optional[float]
bc: torchvision/datasets/video_utils.py#L230
Function VideoClips.compute_clips: frame_rate changed from Optional[int] to Optional[float]
bc
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, malfet/checkout@silent-checkout. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
python-source-and-configs / linux-job
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, ./test-infra/.github/actions/setup-ssh, pmeier/pytest-results-action@v0.3.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
c-source / linux-job
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, ./test-infra/.github/actions/setup-ssh, pmeier/pytest-results-action@v0.3.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
python-types / linux-job
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, ./test-infra/.github/actions/setup-ssh, pmeier/pytest-results-action@v0.3.0. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.