Skip to content

Commit de6b5ed

Browse files
Add ignore/TODO comment at callsite
1 parent 30cf42c commit de6b5ed

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

protovalidate/internal/extra_func.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,9 @@ def unique(val: celtypes.Value) -> celpy.Result:
238238

239239

240240
def make_extra_funcs(locale: str) -> dict[str, celpy.CELFunction]:
241-
string_fmt = string_format.StringFormat(locale)
241+
# TODO(#257): Fix types and add tests for StringFormat.
242+
# For now, ignoring the type.
243+
string_fmt = string_format.StringFormat(locale) # type: ignore
242244
return {
243245
# Missing standard functions
244246
"format": string_fmt.format,

0 commit comments

Comments
 (0)