Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set absolute imports in cli #26

Merged
merged 1 commit into from
May 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rolabesti/cli/commands/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import typer

from ..utils import validate_length_limits
from rolabesti.cli.utils import validate_length_limits
from rolabesti.config import get_settings, max_overlap_length
from rolabesti.controllers import ConfigController
from rolabesti.models import Sortings
Expand Down
4 changes: 2 additions & 2 deletions rolabesti/cli/commands/copy.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import typer

from ..options import (
from rolabesti.cli.options import (
artist_option,
title_option,
album_option,
Expand All @@ -14,7 +14,7 @@
max_tracklist_length_option,
sorting_option,
)
from ..utils import validate_length_limits
from rolabesti.cli.utils import validate_length_limits
from rolabesti.config import get_settings
from rolabesti.controllers import CopyController

Expand Down
4 changes: 2 additions & 2 deletions rolabesti/cli/commands/list.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import typer

from ..options import (
from rolabesti.cli.options import (
artist_option,
title_option,
album_option,
Expand All @@ -10,7 +10,7 @@
min_track_length_option,
sorting_option,
)
from ..utils import validate_length_limits
from rolabesti.cli.utils import validate_length_limits
from rolabesti.config import get_settings
from rolabesti.controllers import ListController

Expand Down
4 changes: 2 additions & 2 deletions rolabesti/cli/commands/play.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import typer

from ..options import (
from rolabesti.cli.options import (
artist_option,
title_option,
album_option,
Expand All @@ -13,7 +13,7 @@
max_tracklist_length_option,
sorting_option,
)
from ..utils import validate_length_limits
from rolabesti.cli.utils import validate_length_limits
from rolabesti.config import get_settings, max_overlap_length
from rolabesti.controllers import PlayController

Expand Down
4 changes: 2 additions & 2 deletions rolabesti/cli/commands/tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import typer

from ..options import (
from rolabesti.cli.options import (
artist_option,
title_option,
album_option,
Expand All @@ -12,7 +12,7 @@
min_track_length_option,
enum_callback,
)
from ..utils import validate_length_limits
from rolabesti.cli.utils import validate_length_limits
from rolabesti.config import get_settings
from rolabesti.controllers import TagController
from rolabesti.models import ID3Tags
Expand Down
2 changes: 1 addition & 1 deletion rolabesti/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
from click import Context
from typer.core import TyperGroup

from .commands import config, copy, init, list_, play, tag
from rolabesti import __app_name__, __description__, __version__
from rolabesti.cli.commands import config, copy, init, list_, play, tag


class OrderCommandsTyperGroup(TyperGroup):
Expand Down
Loading