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

Function run_cmd

ci/hooks/check-on-stop.py:83–91  ·  view source on GitHub ↗
(cmd: list[str])

Source from the content-addressed store, hash-verified

81
82
83def run_cmd(cmd: list[str]) -> subprocess.CompletedProcess[str]:
84 return subprocess.run(
85 cmd,
86 capture_output=True,
87 text=True,
88 encoding="utf-8",
89 errors="replace",
90 cwd=str(PROJECT_ROOT),
91 )
92
93
94def extract_failed_tests(output: str) -> list[FailedTest]:

Callers 2

get_porcelainFunction · 0.70
run_lintFunction · 0.70

Calls 1

runMethod · 0.45

Tested by

no test coverage detected