(parsed_row: ParsedRow)
| 79 | |
| 80 | |
| 81 | def is_separator_row(parsed_row: ParsedRow) -> bool: |
| 82 | return ( |
| 83 | parsed_row.separator_count >= 1 |
| 84 | and len(parsed_row.cells) >= 2 |
| 85 | and all(SEPARATOR_CELL_PATTERN.fullmatch(cell.strip()) for cell in parsed_row.cells) |
| 86 | ) |
| 87 | |
| 88 | |
| 89 | def is_body_candidate(row: str, parsed_row: ParsedRow, expected_columns: int) -> bool: |
no outgoing calls
no test coverage detected