5
5
from .utils import gen_co_author
6
6
from .utils import dump_convention
7
7
from .utils import validate_commiter_file
8
+ from .colors import RESET
9
+ from .colors import NOTIFY_COLOR
8
10
from .text_utils import debug
11
+ from .text_utils import notify
9
12
from .text_utils import get_text
10
13
from .text_utils import get_context
11
14
# conventions imports
@@ -24,11 +27,11 @@ def handle_file_based_commit(file_path, debug_mode, args):
24
27
convention = dump_convention (config )
25
28
26
29
if convention == 'none' :
27
- print ('You are not using a convention' )
30
+ notify ('You are not using a convention' )
28
31
commit_msg = just_message ()
29
32
30
33
elif convention == 'custom' :
31
- print ('You are using your custom convention' )
34
+ notify ('You are using your custom convention' )
32
35
validate_commiter_file (config )
33
36
tag , msg = get_text ()
34
37
commit_msg = custom_convention (tag , msg , config , debug_mode )
@@ -45,7 +48,7 @@ def handle_file_based_commit(file_path, debug_mode, args):
45
48
46
49
47
50
def handle_conventioned_commit (convention ):
48
- print ('You are using the %s convention' % convention )
51
+ notify ('You are using the %s convention' % convention )
49
52
tag , msg = get_text ()
50
53
51
54
if convention == 'angular' or convention == 'karma' :
0 commit comments