diff --git a/beetsplug/spotify.py b/beetsplug/spotify.py index cc21f8f05..c387125f6 100644 --- a/beetsplug/spotify.py +++ b/beetsplug/spotify.py @@ -462,7 +462,7 @@ class SpotifyPlugin(BeetsPlugin): """ Get a list of simplified track objects dicts for library tracks matching the specified ``keywords``. - + :param library: beets library object to query. :type library: beets.library.Library :param keywords: Query to match library items against. @@ -566,7 +566,8 @@ class SpotifyPlugin(BeetsPlugin): def _output_match_results(self, results): """ - Open a playlist or print Spotify URLs for the provided track object dicts. + Open a playlist or print Spotify URLs for the provided track + object dicts. :param results: List of simplified track object dicts (https://developer.spotify.com/documentation/web-api/reference/object-model/#track-object-simplified) diff --git a/test/test_spotify.py b/test/test_spotify.py index 5c19cb0eb..ea54a13db 100644 --- a/test/test_spotify.py +++ b/test/test_spotify.py @@ -59,7 +59,9 @@ class SpotifyPluginTest(_common.TestCase, TestHelper): self.assertEqual(True, self.spotify._parse_opts(opts)) def test_empty_query(self): - self.assertEqual(None, self.spotify._match_library_tracks(self.lib, u"1=2")) + self.assertEqual( + None, self.spotify._match_library_tracks(self.lib, u"1=2") + ) @responses.activate def test_missing_request(self):