Skip to content

Commit ed0bfa3

Browse files
committed
Fix mypy error.
error: Returning Any from function declared to return "list[int]" [no-any-return]
1 parent 2f48f78 commit ed0bfa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fontbro/subset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ def parse_unicodes(
2424
unicodes_str = re.sub(r"[\—\‐\−]", "-", unicodes_str)
2525
# remove U+, \u, u if present
2626
unicodes_str = re.sub(r"(U\+)|(\\u)|(u)", "", unicodes_str, flags=re.I)
27-
unicodes_list = _parse_unicodes(unicodes_str)
27+
unicodes_list = list(_parse_unicodes(unicodes_str))
2828
return unicodes_list

0 commit comments

Comments
 (0)