Skip to content
This repository was archived by the owner on Apr 11, 2025. It is now read-only.

Commit b4bfb93

Browse files
committed
[REF]: compute_whitespace add typing
1 parent b30154b commit b4bfb93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

camelot/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1312,7 +1312,7 @@ def compute_accuracy(error_weights):
13121312
return score
13131313

13141314

1315-
def compute_whitespace(d):
1315+
def compute_whitespace(d: list[list[str]]) -> float:
13161316
"""Calculates the percentage of empty strings in a two-dimensional list.
13171317
13181318
Parameters

0 commit comments

Comments
 (0)