Skip to content

Commit c2f7b4d

Browse files
committed
Removed trailing comma
1 parent 7c5ddc4 commit c2f7b4d

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

beets/metadata_plugins.py

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -36,34 +36,20 @@ def find_metadata_source_plugins() -> list[MetadataSourcePlugin]:
3636

3737
@notify_info_yielded("albuminfo_received")
3838
def candidates(
39-
items: Sequence[Item],
40-
artist: str,
41-
album: str,
42-
va_likely: bool,
39+
items: Sequence[Item], artist: str, album: str, va_likely: bool
4340
) -> Iterable[AlbumInfo]:
4441
"""Return matching album candidates from all metadata source plugins."""
4542
for plugin in find_metadata_source_plugins():
4643
yield from plugin.candidates(
47-
items=items,
48-
artist=artist,
49-
album=album,
50-
va_likely=va_likely,
44+
items=items, artist=artist, album=album, va_likely=va_likely
5145
)
5246

5347

5448
@notify_info_yielded("trackinfo_received")
55-
def item_candidates(
56-
item: Item,
57-
artist: str,
58-
title: str,
59-
) -> Iterable[TrackInfo]:
49+
def item_candidates(item: Item, artist: str, title: str) -> Iterable[TrackInfo]:
6050
"""Return matching track candidates from all metadata source plugins."""
6151
for plugin in find_metadata_source_plugins():
62-
yield from plugin.item_candidates(
63-
item=item,
64-
artist=artist,
65-
title=title,
66-
)
52+
yield from plugin.item_candidates(item=item, artist=artist, title=title)
6753

6854

6955
def album_for_id(_id: str) -> AlbumInfo | None:

0 commit comments

Comments
 (0)