Skip to content

Commit 67b0ba1

Browse files
committed
explicit none return pre processing funcs to str
1 parent 15cc41f commit 67b0ba1

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
@@ -12994,9 +12994,10 @@ def _transform_assertion_str(
1299412994
return type_upd
1299512995

1299612996

12997-
def _pre_processing_funcs_to_str(pre: Callable) -> str | list[str]:
12997+
def _pre_processing_funcs_to_str(pre: Callable) -> str | list[str] | None:
1299812998
if isinstance(pre, Callable):
1299912999
return _get_callable_source(fn=pre)
13000+
return None
1300013001

1300113002

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

0 commit comments

Comments
 (0)