mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-17 08:14:42 +04:00
Add error_handler and use it.
This commit is contained in:
parent
e3d29a897b
commit
9a017dcbe9
8 changed files with 177 additions and 35 deletions
|
|
@ -16,13 +16,13 @@ COLS = int(
|
|||
|
||||
|
||||
def get_hook_message(
|
||||
start,
|
||||
postfix='',
|
||||
end_msg=None,
|
||||
end_len=0,
|
||||
end_color=None,
|
||||
use_color=None,
|
||||
cols=COLS,
|
||||
start,
|
||||
postfix='',
|
||||
end_msg=None,
|
||||
end_len=0,
|
||||
end_color=None,
|
||||
use_color=None,
|
||||
cols=COLS,
|
||||
):
|
||||
"""Prints a message for running a hook.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue