From 44c56a4183f5384a45e5c8f96e21385a0168be3f Mon Sep 17 00:00:00 2001 From: zssherman Date: Thu, 7 Mar 2024 14:01:52 -0600 Subject: [PATCH] STY: Fix for ruff linting. --- pyart/retrieve/echo_class.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/pyart/retrieve/echo_class.py b/pyart/retrieve/echo_class.py index 039034bfa5..9a6e0548e7 100644 --- a/pyart/retrieve/echo_class.py +++ b/pyart/retrieve/echo_class.py @@ -498,9 +498,7 @@ def feature_detection( "valid_min": 0, "valid_max": 3, "comment_1": ( - "{} = No surface echo/Undefined, {} = Background echo, {} = Features, {} = weak echo".format( - nosfcecho, bkgd_val, feat_val, weakecho - ) + f"{nosfcecho} = No surface echo/Undefined, {bkgd_val} = Background echo, {feat_val} = Features, {weakecho} = weak echo" ), } } @@ -583,9 +581,7 @@ def feature_detection( "valid_min": 0, "valid_max": 3, "comment_1": ( - "{} = No surface echo/Undefined, {} = Background echo, {} = Features, {} = weak echo".format( - nosfcecho, bkgd_val, feat_val, weakecho - ) + f"{nosfcecho} = No surface echo/Undefined, {bkgd_val} = Background echo, {feat_val} = Features, {weakecho} = weak echo" ), } @@ -596,9 +592,7 @@ def feature_detection( "valid_min": 0, "valid_max": 3, "comment_1": ( - "{} = No surface echo/Undefined, {} = Background echo, {} = Features, {} = weak echo".format( - nosfcecho, bkgd_val, feat_val, weakecho - ) + f"{nosfcecho} = No surface echo/Undefined, {bkgd_val} = Background echo, {feat_val} = Features, {weakecho} = weak echo" ), }