From 1b9608aecf25d5e58ee27b9b45afd7f77b883f8b Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 3 May 2023 22:28:02 +0200 Subject: Use proper type annotations instead of comments --- libmat2/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmat2/audio.py') diff --git a/libmat2/audio.py b/libmat2/audio.py index aa4afdb..13ed291 100644 --- a/libmat2/audio.py +++ b/libmat2/audio.py @@ -39,7 +39,7 @@ class MP3Parser(MutagenParser): mimetypes = {'audio/mpeg', } def get_meta(self) -> Dict[str, Union[str, Dict]]: - metadata = {} # type: Dict[str, Union[str, Dict]] + metadata: Dict[str, Union[str, Dict]] = dict() meta = mutagen.File(self.filename).tags if not meta: return metadata -- cgit v1.3