From 8855a2c6b605095adbe1a93a76256bdb0aef72ec Mon Sep 17 00:00:00 2001 From: bom Date: Thu, 2 Mar 2023 15:08:41 +0100 Subject: [PATCH] Remove unused imports --- infrastructure.py | 3 +-- release_mixin.py | 1 - services.py | 5 ++--- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/infrastructure.py b/infrastructure.py index 3989ed6..b367c74 100644 --- a/infrastructure.py +++ b/infrastructure.py @@ -1,6 +1,5 @@ from domain import Release, Version, ReleaseType -from infrastructure_api import FileHandler, SystemAPI, GitApi -from pathlib import Path +from infrastructure_api import FileHandler class VersionRepository(): diff --git a/release_mixin.py b/release_mixin.py index 08c3a34..f35725c 100644 --- a/release_mixin.py +++ b/release_mixin.py @@ -4,7 +4,6 @@ from ddadevops import execute from ddadevops import gopass_field_from_path, gopass_password_from_path from infrastructure import GitApi, ReleaseRepository, ReleaseTypeRepository, VersionRepository from services import PrepareReleaseService, TagAndPushReleaseService -from domain import ReleaseType, Version def create_release_mixin_config(config_file, main_branch) -> dict: config = {} diff --git a/services.py b/services.py index 296bf98..b3b5771 100644 --- a/services.py +++ b/services.py @@ -1,6 +1,5 @@ -from pathlib import Path -from infrastructure import VersionRepository, ReleaseRepository, GitApi -from domain import Version, ReleaseType, Release +from infrastructure import ReleaseRepository, GitApi +from domain import Version, Release class PrepareReleaseService():