(code: str, path: str = _FL_PATH)
| 18 | |
| 19 | |
| 20 | def _make(code: str, path: str = _FL_PATH) -> FileContent: |
| 21 | lines = code.splitlines() |
| 22 | return FileContent(path=path, content=code, lines=lines) |
| 23 | |
| 24 | |
| 25 | def _violations(code: str, path: str = _FL_PATH) -> list[tuple[int, str]]: |
no test coverage detected