MCPcopy Create free account
hub / github.com/apache/burr / _verify_project_root

Function _verify_project_root

scripts/apache_release.py:193–197  ·  view source on GitHub ↗

Verify script is running from project root.

()

Source from the content-addressed store, hash-verified

191
192
193def _verify_project_root() -> bool:
194 """Verify script is running from project root."""
195 if not os.path.exists("pyproject.toml"):
196 _fail("pyproject.toml not found. Please run from project root.")
197 return True
198
199
200def _get_version_from_file(file_path: str) -> str:

Callers 4

cmd_archiveFunction · 0.85
cmd_sdistFunction · 0.85
cmd_wheelFunction · 0.85
cmd_allFunction · 0.85

Calls 1

_failFunction · 0.70

Tested by

no test coverage detected