diff --git a/src/deprecate/deprecation.py b/src/deprecate/deprecation.py index aa1ff67..6be9e85 100644 --- a/src/deprecate/deprecation.py +++ b/src/deprecate/deprecation.py @@ -164,7 +164,8 @@ def deprecated( args_extra: Optional[Dict[str, Any]] = None, skip_if: Union[bool, Callable] = False, ) -> Callable: - """Decorate a function or class with warning message and pass all arguments directly to the target class/method. + """Decorate a function or class with warning message and pass all arguments + directly to the target class/method. Args: target: Function or method to forward the call. If set ``None``, no forwarding is applied and only warn. diff --git a/src/deprecate/utils.py b/src/deprecate/utils.py index b42023e..aedf7e3 100644 --- a/src/deprecate/utils.py +++ b/src/deprecate/utils.py @@ -73,5 +73,7 @@ def no_warning_call(warning_type: Optional[Type[Warning]] = None, match: Optiona def void(*args: Any, **kwrgs: Any) -> Any: - """Empty function which does nothing, just let your IDE stop complaining about unused arguments.""" + """Empty function which does nothing, just let your IDE stop complaining + about unused arguments. + """ _, _ = args, kwrgs