Skip to content

Commit 0e7dba4

Browse files
committed
explicit none return pre processing funcs to str
1 parent 45f7a4b commit 0e7dba4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pointblank/validate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14136,9 +14136,10 @@ def _transform_assertion_str(
1413614136
return type_upd
1413714137

1413814138

14139-
def _pre_processing_funcs_to_str(pre: Callable) -> str | list[str]:
14139+
def _pre_processing_funcs_to_str(pre: Callable) -> str | list[str] | None:
1414014140
if isinstance(pre, Callable):
1414114141
return _get_callable_source(fn=pre)
14142+
return None
1414214143

1414314144

1414414145
def _get_callable_source(fn: Callable) -> str:

0 commit comments

Comments
 (0)