MCPcopy
hub / github.com/pyodide/pyodide / check_clean_working_tree

Function check_clean_working_tree

tools/bump_version.py:267–275  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

265
266
267def check_clean_working_tree():
268 res = run(
269 ["git", "status", "--untracked-files=no", "--porcelain"],
270 check=False,
271 capture_output=True,
272 )
273 if res.stdout.strip():
274 print("Working tree not clean, quitting", file=sys.stderr)
275 sys.exit(1)
276
277
278def commit(version: str, development: bool):

Callers 1

mainFunction · 0.85

Calls 1

runFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…