MCPcopy Create free account
hub / github.com/FastLED/FastLED / _current_pr

Function _current_pr

ci/tools/coderabbit_addressor.py:109–114  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107
108
109def _current_pr() -> Optional[int]:
110 try:
111 out = _run_gh(["pr", "view", "--json", "number"])
112 except subprocess.CalledProcessError:
113 return None
114 return int(json.loads(out)["number"])
115
116
117def _repo_slug() -> str:

Callers 1

mainFunction · 0.85

Calls 1

_run_ghFunction · 0.85

Tested by

no test coverage detected