Skip to content

Commit 3b76ce0

Browse files
committed
Add return type annotation for numberish function
1 parent 8bb4358 commit 3b76ce0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tna_utilities/number.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ def numberish(
55
value: Union[float, int],
66
simple_units: bool = False,
77
prefix_text: Union[str, tuple[str]] = "About ",
8-
):
8+
) -> str:
99
if not isinstance(value, (int, float)):
1010
raise ValueError("Value must be an integer or float")
1111
if value == 0:

0 commit comments

Comments
 (0)