Skip to content

Bump ruff from 0.8.0 to 0.8.3 #7901

Bump ruff from 0.8.0 to 0.8.3

Bump ruff from 0.8.0 to 0.8.3 #7901

Triggered via push December 13, 2024 12:38
Status Failure
Total duration 15s
Artifacts

ruff.yml

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

Annotations

10 errors and 1 warning
Ruff (RUF052): dojo/decorators.py#L151
dojo/decorators.py:151:13: RUF052 Local dummy variable `_block` is accessed
Ruff (RUF052): dojo/decorators.py#L152
dojo/decorators.py:152:13: RUF052 Local dummy variable `_rate` is accessed
Ruff (RUF052): dojo/decorators.py#L153
dojo/decorators.py:153:13: RUF052 Local dummy variable `_lockout` is accessed
Ruff (RUF051): dojo/forms.py#L1956
dojo/forms.py:1956:13: RUF051 Use `pop` instead of `key in dict` followed by `del dict[key]`
Ruff (RUF051): dojo/forms.py#L3214
dojo/forms.py:3214:13: RUF051 Use `pop` instead of `key in dict` followed by `del dict[key]`
Ruff (RUF046): dojo/product/views.py#L549
dojo/product/views.py:549:21: RUF046 Value being casted is already an integer
Ruff (PTH208): dojo/tools/factory.py#L118
dojo/tools/factory.py:118:20: PTH208 Use `pathlib.Path.iterdir()` instead.
Ruff (RUF052): dojo/tools/qualys/parser.py#L139
dojo/tools/qualys/parser.py:139:9: RUF052 Local dummy variable `_temp` is accessed
Ruff (RUF052): dojo/tools/qualys/parser.py#L141
dojo/tools/qualys/parser.py:141:9: RUF052 Local dummy variable `_gid` is accessed
Ruff (RUF052): dojo/tools/qualys/parser.py#L142
dojo/tools/qualys/parser.py:142:9: RUF052 Local dummy variable `_port` is accessed
ruff-linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636