From 0a34948b98f376182023df5a1277364a0560181f Mon Sep 17 00:00:00 2001 From: Maxime Alves LIRMM Date: Wed, 7 Oct 2020 07:01:03 +0200 Subject: [PATCH] [cli] switch halfapi import to relative imports in cli.py --- halfapi/cli/cli.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/halfapi/cli/cli.py b/halfapi/cli/cli.py index e24d12b..1431f09 100644 --- a/halfapi/cli/cli.py +++ b/halfapi/cli/cli.py @@ -23,9 +23,9 @@ def cli(ctx, version): return click.echo(version()) if IS_PROJECT: - import halfapi.cli.config - import halfapi.cli.domain - import halfapi.cli.run + from . import config + from . import domain + from . import run else: - import halfapi.cli.init + from . import init