Not sure why it was -6. Changed to -1

This commit is contained in:
Anthony Sottile 2014-04-19 15:44:43 -07:00
parent af946a6b02
commit edb04422b8

View file

@ -160,7 +160,7 @@ def _print_no_files_skipped(hook, write, args):
len(hook['name']) -
len(no_files_msg) -
len(skipped_msg) -
6
1
),
no_files_msg,
color.format_color(skipped_msg, color.TURQUOISE, args.color),
@ -173,7 +173,7 @@ def _print_user_skipped(hook, write, args):
write(
'{0}{1}{2}\n'.format(
hook['name'],
'.' * (COLS - len(hook['name']) - len(skipped_msg) - 6),
'.' * (COLS - len(hook['name']) - len(skipped_msg) - 1),
color.format_color(skipped_msg, color.YELLOW, args.color),
),
)
@ -202,7 +202,7 @@ def _run_single_hook(runner, repository, hook_id, args, write, skips=set()):
write(
'{0}{1}'.format(
hook['name'],
'.' * (COLS - len(hook['name']) - PASS_FAIL_LENGTH - 6),
'.' * (COLS - len(hook['name']) - PASS_FAIL_LENGTH - 1),
),
)
sys.stdout.flush()