Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
107
def
is_test(path: str) -> bool:
108
return
any(re.search(pattern, path, re.I)
for
pattern in TEST_PATTERNS)
109
110
111
def
is_allowed_before_approval(path: str) -> bool:
Callers
1
is_allowed_before_approval
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected