Lint code #1545
lint.yml
on: pull_request
Get changed files
11s
Check formatting
13s
Check linting
9s
Check types with mypy
20s
Check docs
31s
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"
|