polaris.cf_check.check_cf_compliance
- polaris.cf_check.check_cf_compliance(filenames: List[str], work_dir: str) List[Dict[str, Any]][source]
Run the CF checker on each file. A file passes when the checker reports no errors; warnings and informational messages are recorded but do not fail it.
- Parameters:
- Returns:
results (list of dict) – One entry per file with the keys
filename,passed,errors(a list of strings),warnings(an int) andreport(the full text of the checker’s output)