def _compute_cols(hooks, verbose):
if hooks:<EOL><INDENT>name_len = max(len(_hook_msg_start(hook, verbose)) for hook in hooks)<EOL><DEDENT>else:<EOL><INDENT>name_len = <NUM_LIT:0><EOL><DEDENT>cols = name_len + <NUM_LIT:3> + len(NO_FILES) + <NUM_LIT:1> + len(SKIPPED)<EOL>return max(cols, <NUM_LIT>)<EOL>
Compute the number of columns to display hook messages.  The widest
    that will be displayed is in the no files skipped case:

        Hook name...(no files to check) Skipped

    or in the verbose case

        Hook name [hookid]...(no files to check) Skipped