Calculate the first rows to maintain the max number of rows.
(max_rows: int)
| 137 | |
| 138 | |
| 139 | def calc_max_rows_first(max_rows: int) -> int: |
| 140 | """Calculate the first rows to maintain the max number of rows.""" |
| 141 | return max_rows // 2 + max_rows % 2 |
| 142 | |
| 143 | |
| 144 | def calc_max_rows_last(max_rows: int) -> int: |
no outgoing calls
no test coverage detected
searching dependent graphs…