Major semver update and refactor

This commit is contained in:
2023-06-30 22:53:38 -04:00
parent 22035b89e0
commit 92eb0cff39
10 changed files with 523 additions and 286 deletions

18
semver/exceptions.py Normal file
View File

@ -0,0 +1,18 @@
class SemverException(Exception):
"""Semver base exception"""
pass
class NoMergeFoundException(SemverException):
"""No merge found in commit message"""
pass
class NotMainBranchException(SemverException):
"""Not on main branch"""
pass
class NoGitFlowException(SemverException):
"""No git flow branch found"""
pass