GitFlowError = ValueError BRANCH_TYPES = [ "feature", "refactor", "bugfix", "hotfix", "chore", "docs", ] COMMIT_TYPES = [ "feature", "bugfix", "hotfix", "refactor", "perf", "docs", "style", "test", "wip", ] # Commits con estos valores incrementan el componente correspondiente SEMVER_MAJOR = 3 SEMVER_MINOR = 2 SEMVER_PATCH = 1 # Commits con estos tipos no alteran la versión SEMVER_SKIP = 0 COMMIT_TYPE_INCREMENT = { "feature": SEMVER_MINOR, "bugfix": SEMVER_PATCH, "hotfix": SEMVER_PATCH, "refactor": SEMVER_SKIP, "perf": SEMVER_SKIP, "docs": SEMVER_SKIP, "style": SEMVER_SKIP, "test": SEMVER_SKIP, } SUPPORTED_REMOTE_APIS = [ "bitbucket.org", "github.com", ] REPOSITORY_TOKEN_FILENAME = ".repository-token" COLOR_BLACK = "\033[30m" COLOR_RED = "\033[31m" COLOR_GREEN = "\033[32m" COLOR_YELLOW = "\033[33m" COLOR_BLUE = "\033[34m" COLOR_5 = "\033[35m" COLOR_6 = "\033[36m" COLOR_7 = "\033[37m" COLOR_BLACK_BOLD = "\033[1;30m" COLOR_WHITE_BOLD = "\033[1;37m" COLOR_RESET = "\033[0m"