Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run the black formatter #869

Merged
merged 2 commits into from
Jun 10, 2024

Tool black: ignore blame

4834688
Select commit
Loading
Failed to load commit list.
Merged

Run the black formatter #869

Tool black: ignore blame
4834688
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Jun 10, 2024 in 3s

15 new alerts

New alerts in code changed by this pull request

  • 10 warnings
  • 5 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 54 in jellyfin_kodi/connect.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable server is not used.

Check notice on line 171 in jellyfin_kodi/connect.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable state is not used.

Check warning on line 557 in jellyfin_kodi/objects/music.py

See this annotation in the file changed.

Code scanning / CodeQL

Unnecessary 'else' clause in loop Warning

This 'for' statement has a redundant 'else' as no 'break' is present in the body.

Check warning on line 571 in jellyfin_kodi/objects/music.py

See this annotation in the file changed.

Code scanning / CodeQL

Unnecessary 'else' clause in loop Warning

This 'for' statement has a redundant 'else' as no 'break' is present in the body.

Check warning on line 578 in jellyfin_kodi/objects/music.py

See this annotation in the file changed.

Code scanning / CodeQL

Unnecessary 'else' clause in loop Warning

This 'for' statement has a redundant 'else' as no 'break' is present in the body.

Check warning on line 153 in jellyfin_kodi/objects/tvshows.py

See this annotation in the file changed.

Code scanning / CodeQL

Unnecessary 'else' clause in loop Warning

This 'for' statement has a redundant 'else' as no 'break' is present in the body.

Check warning on line 694 in jellyfin_kodi/objects/tvshows.py

See this annotation in the file changed.

Code scanning / CodeQL

Unnecessary 'else' clause in loop Warning

This 'for' statement has a redundant 'else' as no 'break' is present in the body.

Check warning on line 709 in jellyfin_kodi/objects/tvshows.py

See this annotation in the file changed.

Code scanning / CodeQL

Unnecessary 'else' clause in loop Warning

This 'for' statement has a redundant 'else' as no 'break' is present in the body.

Check warning on line 716 in jellyfin_kodi/objects/tvshows.py

See this annotation in the file changed.

Code scanning / CodeQL

Unnecessary 'else' clause in loop Warning

This 'for' statement has a redundant 'else' as no 'break' is present in the body.

Check warning on line 733 in jellyfin_kodi/objects/tvshows.py

See this annotation in the file changed.

Code scanning / CodeQL

Unnecessary 'else' clause in loop Warning

This 'for' statement has a redundant 'else' as no 'break' is present in the body.

Check warning on line 752 in jellyfin_kodi/objects/tvshows.py

See this annotation in the file changed.

Code scanning / CodeQL

Unnecessary 'else' clause in loop Warning

This 'for' statement has a redundant 'else' as no 'break' is present in the body.

Check notice on line 64 in jellyfin_kodi/jellyfin/ws_client.py

See this annotation in the file changed.

Code scanning / CodeQL

Unnecessary lambda Note

This 'lambda' is just a simple wrapper around a callable object. Use that object directly.

Check notice on line 65 in jellyfin_kodi/jellyfin/ws_client.py

See this annotation in the file changed.

Code scanning / CodeQL

Unnecessary lambda Note

This 'lambda' is just a simple wrapper around a callable object. Use that object directly.

Check notice on line 66 in jellyfin_kodi/jellyfin/ws_client.py

See this annotation in the file changed.

Code scanning / CodeQL

Unnecessary lambda Note

This 'lambda' is just a simple wrapper around a callable object. Use that object directly.

Check warning on line 984 in jellyfin_kodi/views.py

See this annotation in the file changed.

Code scanning / CodeQL

Implicit string concatenation in a list Warning

Implicit string concatenation. Maybe missing a comma?