Skip to content

test: tools: neuvector: support vulnerability asset format #72

test: tools: neuvector: support vulnerability asset format

test: tools: neuvector: support vulnerability asset format #72

Triggered via push May 3, 2024 13:01
Status Failure
Total duration 21s
Artifacts

ruff.yml

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

Annotations

10 errors
Ruff (E265): dojo/tools/neuvector/parser.py#L60
dojo/tools/neuvector/parser.py:60:9: E265 Block comment should start with `# `
Ruff (E302): dojo/tools/neuvector/parser.py#L129
dojo/tools/neuvector/parser.py:129:1: E302 Expected 2 blank lines, found 1
Ruff (E302): dojo/tools/neuvector/parser.py#L188
dojo/tools/neuvector/parser.py:188:1: E302 Expected 2 blank lines, found 1
Ruff (F401): dojo/tools/neuvector_api/updater.py#L4
dojo/tools/neuvector_api/updater.py:4:36: F401 `django.core.exceptions.ValidationError` imported but unused
Ruff (E302): dojo/tools/neuvector_api/updater.py#L29
dojo/tools/neuvector_api/updater.py:29:1: E302 Expected 2 blank lines, found 1
Ruff (E302): dojo/tools/neuvector_api/updater.py#L48
dojo/tools/neuvector_api/updater.py:48:1: E302 Expected 2 blank lines, found 1
Ruff (E302): dojo/tools/neuvector_api/updater.py#L57
dojo/tools/neuvector_api/updater.py:57:1: E302 Expected 2 blank lines, found 1
Ruff (E302): dojo/tools/neuvector_api/updater.py#L67
dojo/tools/neuvector_api/updater.py:67:1: E302 Expected 2 blank lines, found 1
Ruff (F401): dojo/tools/tenablesc_api/api_client.py#L1
dojo/tools/tenablesc_api/api_client.py:1:8: F401 `json` imported but unused
Ruff (F401): dojo/tools/tenablesc_api/api_client.py#L3
dojo/tools/tenablesc_api/api_client.py:3:8: F401 `requests` imported but unused