From 40dace1be838aaaa31ed989cb20a331b84a97f5d Mon Sep 17 00:00:00 2001 From: Sandro Loch Date: Mon, 15 Jan 2024 09:03:55 -0300 Subject: [PATCH] feat: Rename from sugar to core module name (#101) --- src/sugar/__init__.py | 2 +- src/sugar/cli.py | 2 +- src/sugar/{sugar.py => core.py} | 0 tests/test_containers_sugar.py | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/sugar/{sugar.py => core.py} (100%) diff --git a/src/sugar/__init__.py b/src/sugar/__init__.py index 63313ef..437ecf2 100644 --- a/src/sugar/__init__.py +++ b/src/sugar/__init__.py @@ -6,4 +6,4 @@ __version__ = '1.9.3' # semantic-release -from sugar.sugar import Sugar # noqa: F401 +from sugar.core import Sugar # noqa: F401 diff --git a/src/sugar/cli.py b/src/sugar/cli.py index 8057e19..a1115a0 100644 --- a/src/sugar/cli.py +++ b/src/sugar/cli.py @@ -6,7 +6,7 @@ from pathlib import Path from typing import Tuple -from sugar import Sugar +from sugar.core import Sugar def _get_args(): diff --git a/src/sugar/sugar.py b/src/sugar/core.py similarity index 100% rename from src/sugar/sugar.py rename to src/sugar/core.py diff --git a/tests/test_containers_sugar.py b/tests/test_containers_sugar.py index 3999923..197181a 100644 --- a/tests/test_containers_sugar.py +++ b/tests/test_containers_sugar.py @@ -4,7 +4,7 @@ import pytest -from sugar import Sugar +from sugar.core import Sugar CONFIG_PATH = Path(__file__).parent.parent / '.sugar.yaml' DEFAULT_ARGS = {