Skip to content

Bump ruff from 0.7.4 to 0.8.1 #7719

Bump ruff from 0.7.4 to 0.8.1

Bump ruff from 0.7.4 to 0.8.1 #7719

Triggered via push December 4, 2024 20:11
Status Failure
Total duration 19s
Artifacts

ruff.yml

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

Annotations

10 errors and 1 warning
Ruff (RUF039): dojo/pipeline.py#L110
dojo/pipeline.py:110:27: RUF039 First argument to `re.search()` is not raw string
Ruff (RUF039): dojo/tools/crashtest_security/parser.py#L188
dojo/tools/crashtest_security/parser.py:188:43: RUF039 First argument to `re.findall()` is not raw string
Ruff (PTH208): dojo/tools/factory.py#L118
dojo/tools/factory.py:118:20: PTH208 Use `pathlib.Path.iterdir()` instead.
Ruff (PTH208): tests/Import_scanner_test.py#L32
tests/Import_scanner_test.py:32:24: PTH208 Use `pathlib.Path.iterdir()` instead.
Ruff (PTH208): tests/Import_scanner_test.py#L33
tests/Import_scanner_test.py:33:24: PTH208 Use `pathlib.Path.iterdir()` instead.
Ruff (PTH208): tests/Import_scanner_test.py#L46
tests/Import_scanner_test.py:46:28: PTH208 Use `pathlib.Path.iterdir()` instead.
Ruff (RUF055): tests/Import_scanner_test.py#L148
tests/Import_scanner_test.py:148:24: RUF055 Plain string pattern passed to `re` function
Ruff (RUF055): tests/Import_scanner_test.py#L149
tests/Import_scanner_test.py:149:24: RUF055 Plain string pattern passed to `re` function
Ruff (PTH208): tests/Import_scanner_test.py#L183
tests/Import_scanner_test.py:183:28: PTH208 Use `pathlib.Path.iterdir()` instead.
Ruff (PTH208): unittests/test_factory.py#L68
unittests/test_factory.py:68:24: PTH208 Use `pathlib.Path.iterdir()` instead.
ruff-linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636