Skip to content

Lint code

Lint code #711

Triggered via pull request December 31, 2024 22:52
Status Failure
Total duration 46s
Artifacts

lint.yml

on: pull_request
Get changed files
8s
Get changed files
Check formatting
9s
Check formatting
Check linting
15s
Check linting
Check types with mypy
11s
Check types with mypy
Check docs
24s
Check docs
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 5 warnings
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
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
Check linting
Process completed 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 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 linting
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