Skip to content

fix(RemoteFile): Don't try to delete unavailable S3 file #6187

fix(RemoteFile): Don't try to delete unavailable S3 file

fix(RemoteFile): Don't try to delete unavailable S3 file #6187

Triggered via pull request November 5, 2024 13:26
Status Failure
Total duration 8m 8s
Artifacts 4

main.yaml

on: pull_request
Matrix: Server
Lint and Format
11s
Lint and Format
Semgrep Rules
26s
Semgrep Rules
Coverage Wrap Up
9s
Coverage Wrap Up
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Ruff (UP009): press/press/doctype/remote_file/remote_file.py#L1
press/press/doctype/remote_file/remote_file.py:1:1: UP009 UTF-8 encoding declaration is unnecessary
Ruff (RET502): press/press/doctype/remote_file/remote_file.py#L131
press/press/doctype/remote_file/remote_file.py:131:3: RET502 Do not implicitly `return None` in function able to return non-`None` value
Ruff (FA102): press/press/doctype/remote_file/remote_file.py#L162
press/press/doctype/remote_file/remote_file.py:162:11: FA102 Missing `from __future__ import annotations`, but uses PEP 604 union
Ruff (FA102): press/press/doctype/remote_file/remote_file.py#L163
press/press/doctype/remote_file/remote_file.py:163:14: FA102 Missing `from __future__ import annotations`, but uses PEP 604 union
Ruff (FA102): press/press/doctype/remote_file/remote_file.py#L164
press/press/doctype/remote_file/remote_file.py:164:14: FA102 Missing `from __future__ import annotations`, but uses PEP 604 union
Ruff (FA102): press/press/doctype/remote_file/remote_file.py#L165
press/press/doctype/remote_file/remote_file.py:165:14: FA102 Missing `from __future__ import annotations`, but uses PEP 604 union
Ruff (FA102): press/press/doctype/remote_file/remote_file.py#L166
press/press/doctype/remote_file/remote_file.py:166:14: FA102 Missing `from __future__ import annotations`, but uses PEP 604 union
Ruff (FA102): press/press/doctype/remote_file/remote_file.py#L167
press/press/doctype/remote_file/remote_file.py:167:9: FA102 Missing `from __future__ import annotations`, but uses PEP 604 union
Ruff (FA102): press/press/doctype/remote_file/remote_file.py#L169
press/press/doctype/remote_file/remote_file.py:169:8: FA102 Missing `from __future__ import annotations`, but uses PEP 604 union
Ruff (RET505): press/press/doctype/remote_file/remote_file.py#L177
press/press/doctype/remote_file/remote_file.py:177:3: RET505 Unnecessary `elif` after `return` statement
Server (1)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Server (2)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Artifacts

Produced during runtime
Name Size
bench-start-logs-1
847 Bytes
bench-start-logs-2
1.04 KB
coverage-1
75.5 KB
coverage-2
76.2 KB