MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / is_test

Function is_test

tools/spec-loop/hooks/solo_spec_gate.py:107–108  ·  view source on GitHub ↗
(path: str)

Source from the content-addressed store, hash-verified

105
106
107def is_test(path: str) -> bool:
108 return any(re.search(pattern, path, re.I) for pattern in TEST_PATTERNS)
109
110
111def is_allowed_before_approval(path: str) -> bool:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected