Skip to content

Commit

Permalink
Set absolute imports in cli. (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
kinuax authored May 11, 2024
1 parent 9a7315c commit ae62604
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
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

0 comments on commit ae62604

Please sign in to comment.