File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
class BaseCommitizen (metaclass = ABCMeta ):
8
8
bump_pattern : Optional [str ] = None
9
9
bump_map : Optional [dict ] = None
10
- DEFAULT_STYLE_CONFIG : List [Tuple [str , str ]] = [
10
+ default_style_config : List [Tuple [str , str ]] = [
11
11
("qmark" , "fg:#673ab7 bold" ),
12
12
("question" , "bold" ),
13
13
("answer" , "fg:#f44336 bold" ),
@@ -23,7 +23,7 @@ class BaseCommitizen(metaclass=ABCMeta):
23
23
def __init__ (self , config : dict ):
24
24
self .config = config
25
25
if not self .config .get ("style" ):
26
- self .config ["style" ] = BaseCommitizen .DEFAULT_STYLE_CONFIG
26
+ self .config ["style" ] = BaseCommitizen .default_style_config
27
27
28
28
@abstractmethod
29
29
def questions (self ) -> list :
@@ -35,7 +35,7 @@ def message(self, answers: dict) -> str:
35
35
36
36
@property
37
37
def style (self ):
38
- return merge_styles (BaseCommitizen .DEFAULT_STYLE_CONFIG , Style (self .config ["style" ]))
38
+ return merge_styles (BaseCommitizen .default_style_config , Style (self .config ["style" ]))
39
39
40
40
def example (self ) -> str :
41
41
"""Example of the commit message."""
You can’t perform that action at this time.
0 commit comments