Skip to content

Commit

Permalink
Fix code formatting for latest version of black (#1930)
Browse files Browse the repository at this point in the history
  • Loading branch information
kingosticks committed Sep 19, 2020
1 parent d17b1fb commit 14a29e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion mopidy/listener.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ def send(cls, event, **kwargs):
# practise is making calls upwards in the stack, blocking here would
# quickly deadlock.
listener.tell(
ProxyCall(attr_path=["on_event"], args=[event], kwargs=kwargs,)
ProxyCall(
attr_path=["on_event"],
args=[event],
kwargs=kwargs,
)
)


Expand Down
2 changes: 1 addition & 1 deletion tests/core/test_playback.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ def test_play_skips_to_next_on_unplayable_track(self):

def test_resume_skips_to_next_on_unplayable_track(self):
"""Checks that we handle backend.change_track failing when
resuming playback."""
resuming playback."""
tl_tracks = self.core.tracklist.get_tl_tracks()

self.core.playback.play(tl_tracks[0])
Expand Down

0 comments on commit 14a29e3

Please sign in to comment.