Skip to content

Lint code

Lint code #1545

Triggered via pull request June 24, 2025 15:22
Status Success
Total duration 49s
Artifacts

lint.yml

on: pull_request
Get changed files
11s
Get changed files
Check formatting
13s
Check formatting
Check linting
9s
Check linting
Check types with mypy
20s
Check types with mypy
Check docs
31s
Check docs
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Check types with mypy: beetsplug/deezer.py#L41
Missing type parameters for generic type "SearchApiMetadataSourcePlugin"
Check types with mypy: beetsplug/replaygain.py#L1430
Missing type parameters for generic type "Queue"
Check types with mypy: beetsplug/replaygain.py#L1171
Missing type parameters for generic type "Queue"
Check types with mypy: beetsplug/replaygain.py#L1042
If x = b'abc' then f"{x}" or "{}".format(x) produces "b'abc'", not "abc". If this is desired behavior, use f"{x!r}" or "{!r}".format(x). Otherwise, decode the bytes
Check types with mypy: beetsplug/spotify.py#L445
Signature of "_search_api" incompatible with supertype "SearchApiMetadataSourcePlugin"
Check types with mypy: beets/importer/stages.py#L92
Incompatible types in assignment (expression has type "ImportTask", variable has type "SingletonImportTask")
Check types with mypy: beets/importer/tasks.py#L1136
Unsupported left operand type for + ("None")
Check types with mypy: beets/importer/tasks.py#L173
Need type annotation for "search_ids" (hint: "search_ids: list[<type>] = ...")
Check types with mypy: beets/metadata_plugins.py#L231
"MetadataSourcePlugin" has no attribute "__name__"
Check types with mypy: beets/util/pipeline.py#L94
Missing type parameters for generic type "Queue"