Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pre-commit/pre-commit
/ _start_msg
Function
_start_msg
pre_commit/commands/run.py:41–43 ·
view source on GitHub ↗
(*, start: str, cols: int, end_len: int)
Source
from the content-addressed store, hash-verified
39
40
41
def
_start_msg(*, start: str, cols: int, end_len: int) -> str:
42
dots =
'.'
* (cols - _len_cjk(start) - end_len - 1)
43
return
f
'{start}{dots}'
44
45
46
def
_full_msg(
Callers
2
test_start_msg
Function · 0.90
_run_single_hook
Function · 0.85
Calls
1
_len_cjk
Function · 0.85
Tested by
1
test_start_msg
Function · 0.72