Skip to content

Commit

Permalink
Revert to relative imports (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
kinuax authored May 12, 2024
1 parent ae62604 commit 90cc9f8
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 rolabesti.cli.utils import validate_length_limits
from ..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 rolabesti.cli.options import (
from ..options import (
artist_option,
title_option,
album_option,
Expand All @@ -14,7 +14,7 @@
max_tracklist_length_option,
sorting_option,
)
from rolabesti.cli.utils import validate_length_limits
from ..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 rolabesti.cli.options import (
from ..options import (
artist_option,
title_option,
album_option,
Expand All @@ -10,7 +10,7 @@
min_track_length_option,
sorting_option,
)
from rolabesti.cli.utils import validate_length_limits
from ..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 rolabesti.cli.options import (
from ..options import (
artist_option,
title_option,
album_option,
Expand All @@ -13,7 +13,7 @@
max_tracklist_length_option,
sorting_option,
)
from rolabesti.cli.utils import validate_length_limits
from ..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 rolabesti.cli.options import (
from ..options import (
artist_option,
title_option,
album_option,
Expand All @@ -12,7 +12,7 @@
min_track_length_option,
enum_callback,
)
from rolabesti.cli.utils import validate_length_limits
from ..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 90cc9f8

Please sign in to comment.