mirror of
https://github.com/beetbox/beets.git
synced 2025-12-14 20:43:41 +01:00
Fixed lint error introduced by merging main.
This commit is contained in:
parent
f878e4da3e
commit
90254bb511
1 changed files with 1 additions and 4 deletions
|
|
@ -28,7 +28,6 @@ from typing import (
|
|||
Callable,
|
||||
Generic,
|
||||
Sequence,
|
||||
Type,
|
||||
TypedDict,
|
||||
TypeVar,
|
||||
)
|
||||
|
|
@ -37,6 +36,7 @@ import mediafile
|
|||
|
||||
import beets
|
||||
from beets import logging
|
||||
from beets.library import Album, Item, Library
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from collections.abc import Iterable
|
||||
|
|
@ -45,7 +45,6 @@ if TYPE_CHECKING:
|
|||
|
||||
from beets.autotag import AlbumInfo, Distance, TrackInfo
|
||||
from beets.dbcore import Query
|
||||
from beets.library import Album, Item, Library
|
||||
from beets.ui import Subcommand
|
||||
|
||||
|
||||
|
|
@ -350,7 +349,6 @@ def load_plugins(names: Sequence[str] = ()):
|
|||
)
|
||||
|
||||
|
||||
|
||||
_instances: dict[type[BeetsPlugin], BeetsPlugin] = {}
|
||||
|
||||
|
||||
|
|
@ -468,7 +466,6 @@ def item_candidates(item: Item, artist: str, title: str) -> Iterable[TrackInfo]:
|
|||
yield from plugin.item_candidates(item, artist, title)
|
||||
|
||||
|
||||
|
||||
def album_for_id(_id: str) -> AlbumInfo | None:
|
||||
"""Get AlbumInfo object for the given ID string.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue