Spaces:
Sleeping
Sleeping
File size: 458 Bytes
3eeb606 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | from __future__ import annotations
import json
import sys
from pathlib import Path
ROOT = Path(__file__).resolve().parents[1]
if str(ROOT) not in sys.path:
sys.path.insert(0, str(ROOT))
from osint_env.validation import run_validation_suite
def main() -> int:
result = run_validation_suite()
print(json.dumps(result, indent=2, sort_keys=True))
return 0 if result["passed"] else 1
if __name__ == "__main__":
raise SystemExit(main())
|