Skip to content

Mend SCA Parser update #8057

Mend SCA Parser update

Mend SCA Parser update #8057

Triggered via pull request December 21, 2024 06:15
Status Failure
Total duration 15s
Artifacts

ruff.yml

on: pull_request
ruff-linting
8s
ruff-linting
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Ruff: dojo/tools/mend/parser.py#L43
dojo/tools/mend/parser.py:43:40: SyntaxError: Expected an identifier, but found a keyword 'if' that cannot be used here
Ruff: dojo/tools/mend/parser.py#L43
dojo/tools/mend/parser.py:43:43: SyntaxError: Expected ':', found name
Ruff: dojo/tools/mend/parser.py#L43
dojo/tools/mend/parser.py:43:82: SyntaxError: Expected an expression
Ruff: dojo/tools/mend/parser.py#L44
dojo/tools/mend/parser.py:44:1: SyntaxError: Unexpected indentation
Ruff: dojo/tools/mend/parser.py#L61
dojo/tools/mend/parser.py:61:1: SyntaxError: Unexpected indentation
Ruff (E113): dojo/tools/mend/parser.py#L61
dojo/tools/mend/parser.py:61:1: E113 Unexpected indentation
Ruff: dojo/tools/mend/parser.py#L73
dojo/tools/mend/parser.py:73:1: SyntaxError: unindent does not match any outer indentation level
Ruff (E305): dojo/tools/mend/parser.py#L73
dojo/tools/mend/parser.py:73:1: E305 Expected 2 blank lines after class or function definition, found (0)
Ruff (E117): dojo/tools/mend/parser.py#L74
dojo/tools/mend/parser.py:74:1: E117 Over-indented
Ruff: dojo/tools/mend/parser.py#L87
dojo/tools/mend/parser.py:87:13: SyntaxError: Expected a statement
ruff-linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636