types: annotate spreadsheet column offsets

This commit is contained in:
Rudy Celekli authored and Xubin Ren committed 2026-10-18 16:40:43 +08:00
1 parent af353fae73
commit da673d3b5a
1 file changed
+1 -1
+1 -1
View File
@@ -263,7 +263,7 @@ def _open_xlsx_line_source(path: Path) -> DocumentLineSource:
row_text = "\t".join(cells) row_text = "\t".join(cells)
if not row_text.strip(): if not row_text.strip():
continue continue
column_starts = [] column_starts: list[int] = []
offset = 0 offset = 0
for cell in cells: for cell in cells:
column_starts.append(offset) column_starts.append(offset)