diff options
| author | Robert Honz <exislow+github@gmail.com> | 2024-01-12 08:37:58 +0100 |
|---|---|---|
| committer | Robert Honz <exislow+github@gmail.com> | 2024-01-12 08:37:58 +0100 |
| commit | 1494490476d57a49ff8a69ed4baecf5eea4a0d97 (patch) | |
| tree | 1e5e04dc8929081b6736616039a510ddac855b2d /tidal_dl_ng | |
| parent | a99c42ad02871658111bb6ce4ef89620e18215e1 (diff) | |
| download | tidal-dl-ng-1494490476d57a49ff8a69ed4baecf5eea4a0d97.tar.gz | |
🛠️ Ruff ignores type annotation for `cli.py`, so `typer` continues to work as expected.
Diffstat (limited to 'tidal_dl_ng')
| -rw-r--r-- | tidal_dl_ng/cli.py | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/tidal_dl_ng/cli.py b/tidal_dl_ng/cli.py index dfc6422..69afb47 100644 --- a/tidal_dl_ng/cli.py +++ b/tidal_dl_ng/cli.py @@ -1,22 +1,21 @@ #!/usr/bin/env python -from typing import Annotated, Optional - from pathlib import Path +from typing import Annotated, Optional import typer -from tidal_dl_ng.config import Settings, Tidal -from tidal_dl_ng.constants import CTX_TIDAL, MediaType -from tidal_dl_ng.helper.path import path_file_settings -from tidal_dl_ng.helper.url import get_tidal_media_id, get_tidal_media_type -from tidal_dl_ng.helper.wrapper import WrapperLogger -from tidal_dl_ng.model.cfg import HelpSettings from rich.live import Live from rich.panel import Panel from rich.progress import BarColumn, Console, Progress, SpinnerColumn, TextColumn from rich.table import Table -from tidal_dl_ng.download import Download from tidal_dl_ng import __version__ +from tidal_dl_ng.config import Settings, Tidal +from tidal_dl_ng.constants import CTX_TIDAL, MediaType +from tidal_dl_ng.download import Download +from tidal_dl_ng.helper.path import path_file_settings +from tidal_dl_ng.helper.url import get_tidal_media_id, get_tidal_media_type +from tidal_dl_ng.helper.wrapper import WrapperLogger +from tidal_dl_ng.model.cfg import HelpSettings app = typer.Typer() |
