MCPcopy Create free account
hub / github.com/DevCloudNinjas/DevOps-Projects / _print_report

Function _print_report

tools/quality_gate.py:397–404  ·  view source on GitHub ↗
(findings: Iterable[Finding])

Source from the content-addressed store, hash-verified

395
396
397def _print_report(findings: Iterable[Finding]) -> None:
398 findings = list(findings)
399 if not findings:
400 print("Quality gate passed: no failures found.")
401 return
402 print(f"Quality gate failed: {len(findings)} failure(s) found.")
403 for finding in findings:
404 print(f" - {finding.format()}")
405
406
407def build_parser() -> argparse.ArgumentParser:

Callers 2

validate_projectFunction · 0.90
mainFunction · 0.85

Calls 1

formatMethod · 0.80

Tested by

no test coverage detected