mirror of
https://github.com/beetbox/beets.git
synced 2026-01-08 17:08:12 +01:00
Appease flake8
This commit is contained in:
parent
dfdf8ded33
commit
876c0f733f
3 changed files with 4 additions and 4 deletions
|
|
@ -22,13 +22,13 @@ from beets import logging
|
|||
from beets import config
|
||||
|
||||
# Parts of external interface.
|
||||
from .hooks import (
|
||||
from .hooks import ( # noqa
|
||||
AlbumInfo,
|
||||
TrackInfo,
|
||||
AlbumMatch,
|
||||
TrackMatch,
|
||||
Distance,
|
||||
) # noqa
|
||||
)
|
||||
from .match import tag_item, tag_album, Proposal # noqa
|
||||
from .match import Recommendation # noqa
|
||||
|
||||
|
|
|
|||
|
|
@ -686,7 +686,7 @@ class MetadataSourcePlugin(object):
|
|||
if not va_likely:
|
||||
query_filters['artist'] = artist
|
||||
albums = self._search_api(query_type='album', filters=query_filters)
|
||||
return [self.album_for_id(album_id=album['id']) for album in albums]
|
||||
return [self.album_for_id(album_id=a['id']) for a in albums]
|
||||
|
||||
def item_candidates(self, item, artist, title):
|
||||
"""Returns a list of TrackInfo objects for Search API results
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
"""Adds Deezer release and track search support to the autotagger
|
||||
"""
|
||||
from __future__ import absolute_import, print_function
|
||||
from __future__ import absolute_import, print_function, division
|
||||
|
||||
import collections
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue