(section: str, reason: str, severity: str, snippet: str)
| 1298 | |
| 1299 | |
| 1300 | def issue(section: str, reason: str, severity: str, snippet: str) -> dict[str, object]: |
| 1301 | return { |
| 1302 | "section": section, |
| 1303 | "reason": reason, |
| 1304 | "severity": severity, |
| 1305 | "snippet": normalize_lint_whitespace(snippet)[:160], |
| 1306 | } |
| 1307 | |
| 1308 | |
| 1309 | def text_units(body: str) -> list[str]: |
no test coverage detected