From 66d1736014de69cb8041f09a4a630430319ecf5e Mon Sep 17 00:00:00 2001 From: Elena Kolevska Date: Wed, 24 Apr 2024 12:12:34 +0100 Subject: [PATCH] Lint fix Signed-off-by: Elena Kolevska --- dapr/conf/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dapr/conf/__init__.py b/dapr/conf/__init__.py index 08242e00..7fbe5f2f 100644 --- a/dapr/conf/__init__.py +++ b/dapr/conf/__init__.py @@ -24,7 +24,9 @@ def __init__(self): default_value = getattr(global_settings, setting) env_variable = os.environ.get(setting) if env_variable: - val = type(default_value)(env_variable) if default_value is not None else env_variable + val = ( + type(default_value)(env_variable) if default_value is not None else env_variable + ) setattr(self, setting, val) else: setattr(self, setting, default_value)