From 2f3c014d4ab2f81b196d02d9b9551ae1b1ad61dd Mon Sep 17 00:00:00 2001 From: antares-sw <23400824+antares-sw@users.noreply.github.com> Date: Mon, 29 Apr 2024 16:40:43 +0300 Subject: [PATCH] Fix lint --- sw_utils/decorators.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sw_utils/decorators.py b/sw_utils/decorators.py index 88fb9a4..12e349f 100644 --- a/sw_utils/decorators.py +++ b/sw_utils/decorators.py @@ -51,8 +51,7 @@ def default_log_before(retry_state: 'RetryCallState') -> None: def default_after(future: Any) -> NoReturn: - """Reraises the original exception from the Future, suppressing 'RetryError' messages. - """ + """Reraises the original exception from the Future, suppressing 'RetryError' messages.""" raise future.outcome.exception()