mirror of
https://github.com/beetbox/beets.git
synced 2025-12-25 10:05:13 +01:00
Appease flake8
This commit is contained in:
parent
a1885a571b
commit
14b8f30ead
3 changed files with 6 additions and 3 deletions
|
|
@ -726,4 +726,3 @@ class MetadataSourcePlugin(object):
|
|||
return get_distance(
|
||||
data_source=self.data_source, info=track_info, config=self.config
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -461,7 +461,9 @@ class BeatportPlugin(BeetsPlugin):
|
|||
"""Returns an artist string (all artists) and an artist_id (the main
|
||||
artist) for a list of Beatport release or track artists.
|
||||
"""
|
||||
return MetadataSourcePlugin.get_artist(artists=artists, id_key=0, name_key=1)
|
||||
return MetadataSourcePlugin.get_artist(
|
||||
artists=artists, id_key=0, name_key=1
|
||||
)
|
||||
|
||||
def _get_tracks(self, query):
|
||||
"""Returns a list of TrackInfo objects for a Beatport query.
|
||||
|
|
|
|||
|
|
@ -162,7 +162,9 @@ class MBSyncPlugin(BeetsPlugin):
|
|||
changed |= item_changed
|
||||
if item_changed:
|
||||
any_changed_item = item
|
||||
library.apply_item_changes(lib, item, move, pretend, write)
|
||||
library.apply_item_changes(
|
||||
lib, item, move, pretend, write
|
||||
)
|
||||
|
||||
if not changed:
|
||||
# No change to any item.
|
||||
|
|
|
|||
Loading…
Reference in a new issue