Remove Config class
If the config class was to replace the config dict, further refactorings upstream would be needed. This is out of scope.
This commit is contained in:
parent
5700b42098
commit
455585f78c
1 changed files with 0 additions and 7 deletions
|
@ -1,11 +1,6 @@
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
class Config():
|
|
||||||
def __init__(self, main_branch):
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
class ReleaseType(Enum):
|
class ReleaseType(Enum):
|
||||||
MAJOR = 0
|
MAJOR = 0
|
||||||
MINOR = 1
|
MINOR = 1
|
||||||
|
@ -13,7 +8,6 @@ class ReleaseType(Enum):
|
||||||
SNAPSHOT = 3
|
SNAPSHOT = 3
|
||||||
BUMP = None
|
BUMP = None
|
||||||
|
|
||||||
|
|
||||||
class Version():
|
class Version():
|
||||||
|
|
||||||
def __init__(self, id: Path, version_list: list):
|
def __init__(self, id: Path, version_list: list):
|
||||||
|
@ -60,7 +54,6 @@ class Version():
|
||||||
bump_version.increment(ReleaseType.BUMP)
|
bump_version.increment(ReleaseType.BUMP)
|
||||||
return bump_version
|
return bump_version
|
||||||
|
|
||||||
|
|
||||||
class Release():
|
class Release():
|
||||||
def __init__(self, release_type: ReleaseType, version: Version, current_branch: str):
|
def __init__(self, release_type: ReleaseType, version: Version, current_branch: str):
|
||||||
self.release_type = release_type
|
self.release_type = release_type
|
||||||
|
|
Loading…
Reference in a new issue