refactor: muevo constantes a modulo git_flow para centralizar uso

This commit is contained in:
jt
2025-11-26 23:35:00 -03:00
parent 7f857fdd68
commit 29757ccfb5
6 changed files with 22 additions and 26 deletions
+5 -12
View File
@@ -4,6 +4,11 @@ from os.path import isfile
from git_flow import (
BRANCH_TYPES,
COLOR_BLUE,
COLOR_GREEN,
COLOR_RED,
COLOR_RESET,
COLOR_YELLOW,
REPOSITORY_TOKEN_FILENAME,
GitFlowError,
)
@@ -12,18 +17,6 @@ from git_flow.remote.base import RemoteAPI
from git_flow.remote.bitbucket import BitbucketRemoteAPI
from git_flow.remote.github import GithubRemoteAPI
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"
TYPE_SUCCESS = 0
TYPE_WARNING = 1
TYPE_ERROR = 2