Skip to content

Lint code

Lint code #1539

Triggered via pull request June 22, 2025 17:07
Status Success
Total duration 31s
Artifacts

lint.yml

on: pull_request
Get changed files
10s
Get changed files
Check formatting
13s
Check formatting
Check linting
8s
Check linting
Check types with mypy
16s
Check types with mypy
Check docs
0s
Check docs
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Check types with mypy: beetsplug/deezer.py#L31
Missing type parameters for generic type "MetadataSourcePlugin"
Check types with mypy: beetsplug/spotify.py#L697
Item "None" of "Optional[Any]" has no attribute "get"
Check types with mypy: beetsplug/spotify.py#L696
Item "None" of "Optional[Any]" has no attribute "get"
Check types with mypy: beetsplug/spotify.py#L695
Item "None" of "Optional[Any]" has no attribute "get"
Check types with mypy: beetsplug/spotify.py#L691
Item "None" of "Optional[Any]" has no attribute "get"
Check types with mypy: beetsplug/spotify.py#L592
TypedDict "Response" has no key "popularity"
Check types with mypy: beetsplug/spotify.py#L572
TypedDict "Response" has no key "available_markets"
Check types with mypy: beetsplug/spotify.py#L415
Argument 2 of "_search_api" is incompatible with supertype "MetadataSourcePlugin"; supertype defines the argument type as "Optional[dict[str, str]]"
Check types with mypy: beetsplug/spotify.py#L414
Argument 1 of "_search_api" is incompatible with supertype "MetadataSourcePlugin"; supertype defines the argument type as "str"
Check types with mypy: beetsplug/spotify.py#L50
Missing type parameters for generic type "MetadataSourcePlugin"