From edb04422b8f6065fa5af3ea7ba34aa8d426b5558 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Sat, 19 Apr 2014 15:44:43 -0700 Subject: [PATCH] Not sure why it was -6. Changed to -1 --- pre_commit/commands.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pre_commit/commands.py b/pre_commit/commands.py index 0afb7bce..c56e7ff3 100644 --- a/pre_commit/commands.py +++ b/pre_commit/commands.py @@ -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()