types: annotate spreadsheet column offsets
This commit is contained in:
1 parent
af353fae73
commit
da673d3b5a
1 file changed
+1
-1
@@ -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)
|
||||||
|
|||||||
Reference in new issue
Block a user