From 455585f78cf7031a95429a4a22eedb4511663c1d Mon Sep 17 00:00:00 2001 From: erik Date: Thu, 2 Mar 2023 13:12:02 +0100 Subject: [PATCH] Remove Config class If the config class was to replace the config dict, further refactorings upstream would be needed. This is out of scope. --- domain.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/domain.py b/domain.py index bcfedeb..fe0805e 100644 --- a/domain.py +++ b/domain.py @@ -1,11 +1,6 @@ from enum import Enum from pathlib import Path -class Config(): - def __init__(self, main_branch): - pass - - class ReleaseType(Enum): MAJOR = 0 MINOR = 1 @@ -13,7 +8,6 @@ class ReleaseType(Enum): SNAPSHOT = 3 BUMP = None - class Version(): def __init__(self, id: Path, version_list: list): @@ -60,7 +54,6 @@ class Version(): bump_version.increment(ReleaseType.BUMP) return bump_version - class Release(): def __init__(self, release_type: ReleaseType, version: Version, current_branch: str): self.release_type = release_type