mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
parent
26e60fa333
commit
b81c9802ae
28 changed files with 58 additions and 58 deletions
|
|
@ -60,7 +60,7 @@ def get_hook_message(
|
|||
if end_len:
|
||||
return start + '.' * (cols - len(start) - end_len - 1)
|
||||
else:
|
||||
return '{0}{1}{2}{3}\n'.format(
|
||||
return '{}{}{}{}\n'.format(
|
||||
start,
|
||||
'.' * (cols - len(start) - len(postfix) - len(end_msg) - 1),
|
||||
postfix,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue