88def expo (
99 base : float = 2 ,
1010 factor : float = 1 ,
11- max_value : Optional [float ] = None
11+ max_value : Optional [float ] = None ,
1212) -> Generator [float , Any , None ]:
1313
1414 """Generator for exponential decay.
@@ -35,7 +35,7 @@ def expo(
3535def decay (
3636 initial_value : float = 1 ,
3737 decay_factor : float = 1 ,
38- min_value : Optional [float ] = None
38+ min_value : Optional [float ] = None ,
3939) -> Generator [float , Any , None ]:
4040
4141 """Generator for exponential decay[1]:
@@ -83,7 +83,7 @@ def fibo(max_value: Optional[int] = None) -> Generator[int, None, None]:
8383
8484
8585def constant (
86- interval : Union [int , Iterable [float ]] = 1
86+ interval : Union [int , Iterable [float ]] = 1 ,
8787) -> Generator [float , None , None ]:
8888 """Generator for constant intervals.
8989
@@ -104,7 +104,7 @@ def constant(
104104
105105def runtime (
106106 * ,
107- value : Callable [[Any ], float ]
107+ value : Callable [[Any ], float ],
108108) -> Generator [float , None , None ]:
109109 """Generator that is based on parsing the return value or thrown
110110 exception of the decorated method
0 commit comments