Remove Config class

If the config class was to replace the config dict,
further refactorings upstream would be needed.
This is out of scope.
main
erik 1 year ago
parent 5700b42098
commit 455585f78c

@ -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

Loading…
Cancel
Save