@@ -41,8 +41,7 @@ def _normalize_volume_arg(value):
4141
4242
4343def returns_unit (unit ):
44- """
45- Decorator to annotate a function with a custom return unit string.
44+ """Decorator to annotate a function with a custom return unit string.
4645
4746 Usage: @returns_unit("A").
4847 """
@@ -123,8 +122,7 @@ def normalize_args(func: None = None, *, exclude=None, instance:Optional[Enginee
123122
124123
125124def normalize_args (func = None , * , exclude = None , instance :Optional [EngineerIO ] = None ):
126- """
127- Decorator that normalizes arguments before calling the wrapped function.
125+ """Decorator that normalizes arguments before calling the wrapped function.
128126
129127 Parameters can declare how they should be normalized using type annotations.
130128 The most pythonic form is ``typing.Annotated`` metadata:
@@ -139,8 +137,8 @@ def normalize_args(func=None, *, exclude=None, instance:Optional[EngineerIO] = N
139137 Parameters without metadata still use ``normalize_numeric()`` for backwards
140138 compatibility with existing functions.
141139
142- Parameters:
143- -----------
140+ Parameters
141+ ----------
144142 exclude : list of str, optional
145143 List of parameter names that should not be normalized
146144
@@ -233,8 +231,7 @@ def normalize_numeric_args(func: None = None, *, exclude=None, instance:Optional
233231
234232
235233def normalize_numeric_args (func = None , * , exclude = None , instance :Optional [EngineerIO ] = None ):
236- """
237- Decorator that applies normalize_numeric to all arguments (args & kwargs)
234+ """Decorator that applies normalize_numeric to all arguments (args & kwargs)
238235 of the decorated function before calling it.
239236 """
240237 if exclude is None :
0 commit comments