Skip to content

Bump ruff from 0.8.1 to 0.8.6 #8215

Bump ruff from 0.8.1 to 0.8.6

Bump ruff from 0.8.1 to 0.8.6 #8215

Triggered via pull request January 6, 2025 12:20
Status Failure
Total duration 16s
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 (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 (RUF056): dojo/finding/views.py#L688
dojo/finding/views.py:688:52: RUF056 Avoid providing a falsy fallback to `dict.get()` in boolean test positions. The default fallback `None` is already falsy.
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 (D403): dojo/importers/base_importer.py#L184
dojo/importers/base_importer.py:184:9: D403 First word of the docstring should be capitalized: `currently` -> `Currently`
Ruff (RUF056): dojo/importers/default_reimporter.py#L740
dojo/importers/default_reimporter.py:740:35: RUF056 Avoid providing a falsy fallback to `dict.get()` in boolean test positions. The default fallback `None` is already falsy.
Ruff (D403): dojo/jira_link/views.py#L52
dojo/jira_link/views.py:52:5: D403 First word of the docstring should be capitalized: `for` -> `For`
Ruff (D403): dojo/jira_link/views.py#L170
dojo/jira_link/views.py:170:5: D403 First word of the docstring should be capitalized: `example` -> `Example`
ruff-linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636