Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crawl/crawl
/ print_err
Function
print_err
crawl-ref/source/util/checkconventionalcommit.py:16–17 ·
view source on GitHub ↗
(msg: str)
Source
from the content-addressed store, hash-verified
14
def
contains_newline(s):
15
return
'\r'
in s or
'\n'
in s
16
def
print_err(msg: str):
17
print(msg, file=sys.stderr)
18
def
main():
19
# https://git-scm.com/docs/git-log
20
# HEAD ^master gives us all commits not on master
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected