MCPcopy Index your code
hub / github.com/SourceCode-AI/aura / main

Function main

tests/verify_apip.py:28–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26
27
28def main():
29 assert sys.argv[1] == "check_requirement"
30 payload = json.loads(sys.stdin.read())
31 assert type(payload) == dict
32 jsonschema.validate(payload, SCHEMA)
33 fail = os.environ.get("APIP_FAIL_PACKAGE", "")
34 if payload["name"] in fail:
35 sys.exit(2)
36
37
38if __name__ == "__main__":

Callers 1

verify_apip.pyFile · 0.70

Calls 2

readMethod · 0.80
getMethod · 0.80

Tested by

no test coverage detected