Fix style errors

This commit is contained in:
Serene-Arc 2023-02-13 13:51:40 +10:00
parent b33c3ce957
commit ef760feada
2 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@
from collections import namedtuple
from functools import total_ordering
import re
from typing import Dict, List, Tuple, Iterator, Union, NewType, Any, Optional, \
from typing import Dict, List, Tuple, Iterator, Union, NewType, Any, Optional,\
Iterable, Callable, TypeVar
from beets import logging
@ -41,6 +41,7 @@ except AttributeError:
T = TypeVar('T')
# Classes used to represent candidate options.
class AttrDict(dict):
"""A dictionary that supports attribute ("dot") access, so `d.field`

View file

@ -14,8 +14,7 @@
"""Searches for albums in the MusicBrainz database.
"""
from typing import List, Tuple, Dict, Optional, Iterator, Iterable, AnyStr, \
Union
from typing import List, Tuple, Dict, Optional, Iterator
import musicbrainzngs
import re