refactor: move constants to git_flow module
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
from git_flow import (
|
||||
BRANCH_TYPES,
|
||||
REPOSITORY_TOKEN_FILENAME,
|
||||
FLOWCONFIG_FILENAME,
|
||||
GitFlowError,
|
||||
)
|
||||
from git_flow.git import FLOWCONFIG_FILE, Git
|
||||
from git_flow.git import Git
|
||||
from git_flow.remote.base import RemoteAPI
|
||||
from git_flow.remote.bitbucket import BitbucketRemoteAPI
|
||||
from git_flow.remote.github import GithubRemoteAPI
|
||||
@@ -16,7 +17,7 @@ TYPE_ERROR = 2
|
||||
TYPE_INFO = 3
|
||||
|
||||
|
||||
flowconfig = Git.get_config(FLOWCONFIG_FILE) if isfile(FLOWCONFIG_FILE) else {}
|
||||
flowconfig = Git.get_config(FLOWCONFIG_FILENAME) if isfile(FLOWCONFIG_FILENAME) else {}
|
||||
|
||||
|
||||
def ensure_initialized():
|
||||
|
||||
Reference in New Issue
Block a user