(code: str, path: str = _HEADER_PATH)
| 15 | |
| 16 | |
| 17 | def _make(code: str, path: str = _HEADER_PATH) -> FileContent: |
| 18 | return FileContent(path=path, content=code, lines=code.splitlines()) |
| 19 | |
| 20 | |
| 21 | def _violations(code: str, path: str = _HEADER_PATH) -> list[tuple[int, str]]: |
no test coverage detected