Update type hint Sequence in jeb_utils.utils.find_nearest_lower_number to Sequence[int | float]

This commit is contained in:
2026-04-02 14:24:23 +02:00
parent c5ba3855b5
commit d88b7228fc
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ def get_next_lower_integer_multiple(value: int, multiple: int) -> int:
'''
return value - (value % multiple)
def find_nearest_lower_number(number_list: Sequence, target: int | float) -> int | float:
def find_nearest_lower_number(number_list: Sequence[int | float], target: int | float) -> int | float:
'''
Finds the nearest lower number to the target from the list.