Skip to content

tools: trivy_operator: fix Trivy operator findings description and me… #162

tools: trivy_operator: fix Trivy operator findings description and me…

tools: trivy_operator: fix Trivy operator findings description and me… #162

Triggered via push November 26, 2024 09:59
Status Failure
Total duration 17s
Artifacts

ruff.yml

on: push
ruff-linting
7s
ruff-linting
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Ruff (I001): dojo/group/utils.py#L1
dojo/group/utils.py:1:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): dojo/group/utils.py#L2
dojo/group/utils.py:2:25: F401 `django.conf.settings` imported but unused
Ruff (Q000): dojo/group/utils.py#L66
dojo/group/utils.py:66:26: Q000 Single quotes found but double quotes preferred
Ruff (Q000): dojo/group/utils.py#L67
dojo/group/utils.py:67:24: Q000 Single quotes found but double quotes preferred
Ruff (Q000): dojo/group/utils.py#L88
dojo/group/utils.py:88:24: Q000 Single quotes found but double quotes preferred
Ruff (F821): dojo/importers/default_reimporter.py#L433
dojo/importers/default_reimporter.py:433:10: F821 Undefined name `List`
Ruff (D203): dojo/middleware.py#L192
dojo/middleware.py:192:5: D203 1 blank line required before class docstring
Ruff (RET505): dojo/middleware.py#L204
dojo/middleware.py:204:9: RET505 Unnecessary `else` after `return` statement
Ruff (RET504): dojo/middleware.py#L206
dojo/middleware.py:206:20: RET504 Unnecessary assignment to `response` before `return` statement
Ruff (I001): dojo/pipeline.py#L1
dojo/pipeline.py:1:1: I001 Import block is un-sorted or un-formatted