From ac60febc52e889e0d88ee17d91b018ce9bc71ecf Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Fri, 20 Sep 2024 18:41:06 -0300 Subject: [PATCH] add `from __future__ import annotations` --- votify/constants.py | 2 ++ votify/downloader_episode.py | 2 ++ votify/downloader_song.py | 4 +++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/votify/constants.py b/votify/constants.py index f2bd302..4797e8e 100644 --- a/votify/constants.py +++ b/votify/constants.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from .enums import Quality EXCLUDED_CONFIG_FILE_PARAMS = ( diff --git a/votify/downloader_episode.py b/votify/downloader_episode.py index 9100229..e37e7ea 100644 --- a/votify/downloader_episode.py +++ b/votify/downloader_episode.py @@ -1,3 +1,5 @@ +from __future__ import annotations + from pathlib import Path from .downloader import Downloader diff --git a/votify/downloader_song.py b/votify/downloader_song.py index d4096df..de1cbda 100644 --- a/votify/downloader_song.py +++ b/votify/downloader_song.py @@ -1,8 +1,10 @@ +from __future__ import annotations + import datetime from pathlib import Path from .downloader import Downloader -from .models import Lyrics, StreamInfo +from .models import Lyrics class DownloaderSong: