Skip to content

Lint code

Lint code #713

Triggered via pull request December 31, 2024 23:13
Status Failure
Total duration 54s
Artifacts

lint.yml

on: pull_request
Get changed files
17s
Get changed files
Check formatting
9s
Check formatting
Check linting
8s
Check linting
Check types with mypy
13s
Check types with mypy
Check docs
23s
Check docs
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 5 warnings
Ruff (I001): test/test_query.py#L17
test/test_query.py:17:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): test/test_query.py#L34
test/test_query.py:34:27: F401 `beets.library.Item` imported but unused
Ruff (I001): test/test_sort.py#L17
test/test_sort.py:17:1: I001 Import block is un-sorted or un-formatted
Ruff (F401): test/test_sort.py#L21
test/test_sort.py:21:34: F401 `beets.library.Item` imported but unused
Ruff (F841): test/test_sort.py#L505
test/test_sort.py:505:9: F841 Local variable `items` is assigned to but never used
Ruff (E501): test/test_sort.py#L531
test/test_sort.py:531:89: E501 Line too long (89 > 88)
Check linting
Process completed with exit code 1.
Check formatting
Process completed with exit code 1.
Check types with mypy: test/test_sort.py#L17
Library stubs not installed for "mock"
Check types with mypy: test/test_query.py#L22
Library stubs not installed for "mock"
Check types with mypy
The process '/opt/pipx_bin/poe' failed with exit code 1
Check docs
ERROR: Unknown target name: "requests_mock".
Get changed files
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check formatting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check types with mypy
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636