Skip to content

Lint code

Lint code #305

Triggered via pull request September 6, 2024 18:35
Status Failure
Total duration 43s
Artifacts

lint.yml

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

Annotations

21 errors and 10 warnings
Check linting: beetsplug/mm/SpotifyPlugin.py#L16
expected 2 blank lines, found 1
Check linting: beetsplug/mm/SpotifyPlugin.py#L24
expected 2 blank lines, found 1
Check linting: beetsplug/mm/SpotifyPlugin.py#L34
line too long (85 > 79 characters)
Check linting: beetsplug/mm/SpotifyPlugin.py#L35
line too long (84 > 79 characters)
Check linting: beetsplug/mm/SpotifyPlugin.py#L39
unexpected spaces around keyword / parameter equals
Check linting: beetsplug/mm/SpotifyPlugin.py#L39
unexpected spaces around keyword / parameter equals
Check linting: beetsplug/mm/SpotifyPlugin.py#L40
unexpected spaces around keyword / parameter equals
Check linting: beetsplug/mm/SpotifyPlugin.py#L40
unexpected spaces around keyword / parameter equals
Check linting: beetsplug/mm/SpotifyPlugin.py#L40
line too long (81 > 79 characters)
Check linting: beetsplug/mm/SpotifyPlugin.py#L41
unexpected spaces around keyword / parameter equals
Check types with mypy: beetsplug/muziekmachine/stages/fetch_data_stage.py#L1
Skipping analyzing "beetsplug.customspotify": module is installed, but missing library stubs or py.typed marker
Check types with mypy: beetsplug/muziekmachine/stages/fetch_data_stage.py#L2
Skipping analyzing "beetsplug.customyoutube": module is installed, but missing library stubs or py.typed marker
Check types with mypy: beetsplug/mm/SpotifyPlugin.py#L2
Cannot find implementation or library stub for module named "spotipy"
Check types with mypy: beetsplug/mm/SpotifyPlugin.py#L3
Cannot find implementation or library stub for module named "spotipy.oauth2"
Check types with mypy: beetsplug/mm/SpotifyPlugin.py#L109
Incompatible types in assignment (expression has type "str", target has type "List[Any]")
Check types with mypy: beetsplug/test_plugin.py#L7
Cannot find implementation or library stub for module named "spotipy"
Check types with mypy: beetsplug/test_plugin.py#L8
Cannot find implementation or library stub for module named "spotipy.oauth2"
Check types with mypy: beetsplug/ssp.py#L4
Cannot find implementation or library stub for module named "openai"
Check types with mypy: beetsplug/mm/YoutubePlugin.py#L3
Cannot find implementation or library stub for module named "google_auth_oauthlib.flow"
Check types with mypy: beetsplug/mm/YoutubePlugin.py#L3
Cannot find implementation or library stub for module named "google_auth_oauthlib"
Check formatting
Process completed with exit code 1.
Check linting: beetsplug/mm/SpotifyPlugin.py#L30
blank line contains whitespace
Check linting: beetsplug/mm/SpotifyPlugin.py#L45
blank line contains whitespace
Check linting: beetsplug/mm/SpotifyPlugin.py#L73
trailing whitespace
Check linting: beetsplug/mm/SpotifyPlugin.py#L76
blank line contains whitespace
Check linting: beetsplug/mm/SpotifyPlugin.py#L85
trailing whitespace
Check linting: beetsplug/mm/SpotifyPlugin.py#L87
trailing whitespace
Check linting: beetsplug/mm/SpotifyPlugin.py#L92
trailing whitespace
Check linting: beetsplug/mm/SpotifyPlugin.py#L101
blank line contains whitespace
Check linting: beetsplug/mm/SpotifyPlugin.py#L115
blank line contains whitespace
Check linting: beetsplug/mm/SpotifyPlugin.py#L119
blank line contains whitespace