Lines Matching refs:warnings
146 warnings = {p: {s.value: 0 for s in Severity.levels} for p in project_names}
150 warnings[p][s] += i['projects'][p]
151 return warnings
154 def get_total_by_project(warnings, project_names): argument
158 p: sum(warnings[p][s.value] for s in Severity.levels)
163 def get_total_by_severity(warnings, project_names): argument
167 s.value: sum(warnings[p][s.value] for p in project_names)
185 def emit_row_counts_per_project(warnings, total_by_project, total_by_severity, argument
208 one_row.append(warnings[p][s.value])
245 warnings = create_warnings(warn_patterns, project_names)
246 total_by_project = get_total_by_project(warnings, project_names)
247 total_by_severity = get_total_by_severity(warnings, project_names)
250 emit_row_counts_per_project(warnings, total_by_project, total_by_severity, project_names)