Skip to content
Triggered via push May 6, 2024 09:10
Status Failure
Total duration 20s
Artifacts

ruff.yml

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

Annotations

10 errors
Ruff (E231): dojo/tools/neuvector_compliance/parser.py#L4
dojo/tools/neuvector_compliance/parser.py:4:33: E231 Missing whitespace after ','
Ruff (F523): dojo/tools/neuvector_compliance/parser.py#L170
dojo/tools/neuvector_compliance/parser.py:170:15: F523 `.format` call has unused arguments at position(s): 0
Ruff (F524): dojo/tools/neuvector_compliance/parser.py#L170
dojo/tools/neuvector_compliance/parser.py:170:15: F524 `.format` call is missing argument(s) for placeholder(s): name
Ruff (F523): dojo/tools/neuvector_compliance/parser.py#L175
dojo/tools/neuvector_compliance/parser.py:175:27: F523 `.format` call has unused arguments at position(s): 0, 1
Ruff (F524): dojo/tools/neuvector_compliance/parser.py#L175
dojo/tools/neuvector_compliance/parser.py:175:27: F524 `.format` call is missing argument(s) for placeholder(s): category, name
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
Ruff (E302): dojo/tools/tenablesc_api/updater.py#L52
dojo/tools/tenablesc_api/updater.py:52:1: E302 Expected 2 blank lines, found 1
Ruff (E302): dojo/tools/tenablesc_api/updater.py#L65
dojo/tools/tenablesc_api/updater.py:65:1: E302 Expected 2 blank lines, found 1
Ruff (E711): dojo/tools/tenablesc_api/updater.py#L71
dojo/tools/tenablesc_api/updater.py:71:43: E711 Comparison to `None` should be `cond is not None`