Skip to content

Commit edb0442

Browse files
committed
Not sure why it was -6. Changed to -1
1 parent af946a6 commit edb0442

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pre_commit/commands.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def _print_no_files_skipped(hook, write, args):
160160
len(hook['name']) -
161161
len(no_files_msg) -
162162
len(skipped_msg) -
163-
6
163+
1
164164
),
165165
no_files_msg,
166166
color.format_color(skipped_msg, color.TURQUOISE, args.color),
@@ -173,7 +173,7 @@ def _print_user_skipped(hook, write, args):
173173
write(
174174
'{0}{1}{2}\n'.format(
175175
hook['name'],
176-
'.' * (COLS - len(hook['name']) - len(skipped_msg) - 6),
176+
'.' * (COLS - len(hook['name']) - len(skipped_msg) - 1),
177177
color.format_color(skipped_msg, color.YELLOW, args.color),
178178
),
179179
)
@@ -202,7 +202,7 @@ def _run_single_hook(runner, repository, hook_id, args, write, skips=set()):
202202
write(
203203
'{0}{1}'.format(
204204
hook['name'],
205-
'.' * (COLS - len(hook['name']) - PASS_FAIL_LENGTH - 6),
205+
'.' * (COLS - len(hook['name']) - PASS_FAIL_LENGTH - 1),
206206
),
207207
)
208208
sys.stdout.flush()

0 commit comments

Comments
 (0)