Add missing imports and cleanup

main
erik 1 year ago
parent 80c0799d1a
commit 1743dce46d

@ -1,3 +1,4 @@
from enum import Enum
class ReleaseType(Enum):
MAJOR = 0
MINOR = 1

@ -1,4 +1,4 @@
from enum import Enum
from release_type import ReleaseType
from file_handlers import FileHandler
class Version():

@ -25,7 +25,7 @@ class VersionRepository():
return version_list, is_snapshot
@classmethod
def get(cls, file) -> VersionRepository:
def get(cls, file):
inst = cls(file)
file_handler= inst.load_file(file)

Loading…
Cancel
Save