diff --git a/lib/galaxy/util/__init__.py b/lib/galaxy/util/__init__.py index c97423b795be..9df62139d205 100644 --- a/lib/galaxy/util/__init__.py +++ b/lib/galaxy/util/__init__.py @@ -1139,7 +1139,7 @@ def commaify(amount): return commaify(new) -def trailing_zeros_to_powerof10(amount: int): +def trailing_zeros_to_powerof10(amount: int) -> str: """ >>> trailing_zeros_to_powerof10(23000) '23000' @@ -1168,7 +1168,7 @@ def trailing_zeros_to_powerof10(amount: int): return f"{amount[: i+1]}\u00d710^{zeros}" -def roundify(amount: int, sfs: int = 2): +def roundify(amount: int, sfs: int = 2) -> int: """ Take a number and round it to 'sfs' significant figures.