MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / check_file

Function check_file

scripts/website/check_paragraph_capitalization.py:152–155  ·  view source on GitHub ↗
(path, repo_root)

Source from the content-addressed store, hash-verified

150
151
152def check_file(path, repo_root):
153 front_matter, body, body_start_line = read_post(path)
154 rel = os.path.relpath(path, repo_root) if repo_root else path
155 return find_lowercase_paragraphs(body, body_start_line, rel)
156
157
158def expand_paths(paths):

Callers 1

mainFunction · 0.85

Calls 2

read_postFunction · 0.90

Tested by

no test coverage detected