Skip to content

Lint code

Lint code #732

Triggered via pull request January 6, 2025 22:51
Status Failure
Total duration 57s
Artifacts

lint.yml

on: pull_request
Get changed files
14s
Get changed files
Check formatting
8s
Check formatting
Check linting
10s
Check linting
Check types with mypy
18s
Check types with mypy
Check docs
28s
Check docs
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 6 warnings
Check formatting
Process completed with exit code 1.
Check types with mypy: beets/util/pipeline.py#L86
Missing type parameters for generic type "Queue"
Check types with mypy: beets/util/__init__.py#L800
Incompatible types in assignment (expression has type "str", variable has type "bytes")
Check types with mypy: beets/util/__init__.py#L803
Argument 4 to "_legalize_stage" has incompatible type "bytes"; expected "str"
Check types with mypy: beets/util/__init__.py#L811
Argument 4 to "_legalize_stage" has incompatible type "bytes"; expected "str"
Check types with mypy: beets/util/__init__.py#L818
Argument 4 to "_legalize_stage" has incompatible type "bytes"; expected "str"
Check types with mypy: beets/plugins.py#L293
Need type annotation for "_instances" (hint: "_instances: dict[<type>, <type>] = ...")
Check types with mypy: beets/autotag/mb.py#L135
Missing type parameters for generic type "list"
Check types with mypy: beets/autotag/mb.py#L176
Missing type parameters for generic type "Sequence"
Check types with mypy: beets/autotag/mb.py#L190
Missing type parameters for generic type "dict"
Check types with mypy: beets/autotag/mb.py#L238
Missing type parameters for generic type "dict"
Check docs
ERROR: Unknown target name: "requests_mock".
Check docs: docs/plugins/lastgenre.rst#L132
ERROR: Unknown target name: "forcing".
Get changed files
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Get changed files
Unable to find merge base between 801bac5f9e3af59c68bb09e9b5b552a260c3d337 and 2f34749ff47970254cedc27e4e6a99fb8bbf49e9
Check formatting
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 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