refactor: move constants to git_flow module

This commit is contained in:
Jonathan Teran Carballo
2026-05-17 11:48:02 -03:00
parent 8929438fbf
commit 5f7db6cf5d
4 changed files with 11 additions and 14 deletions
+2 -7
View File
@@ -1,13 +1,8 @@
import subprocess
from git_flow import FLOWCONFIG_FILENAME
from git_flow.io import *
FLOWCONFIG_FILE = ".flowconfig"
CHANGELOG_FILE = "CHANGELOG.md"
BUMP_VERSION = "chore: bump version and update CHANGELOG.md [skip ci]"
class Git:
class Status:
@@ -42,7 +37,7 @@ class Git:
@staticmethod
def flow_config(*args, **kwargs):
return Git("config", *args, file=FLOWCONFIG_FILE, **kwargs)
return Git("config", *args, file=FLOWCONFIG_FILENAME, **kwargs)
@staticmethod
def get_current_branch():