From d441404ccbcf333d3a3d5c48b6b4665e98436953 Mon Sep 17 00:00:00 2001 From: HappyXiaoAnAn <97467947+HappyXiaoAnAn@users.noreply.github.com> Date: Mon, 8 Jan 2024 10:04:07 +0800 Subject: [PATCH] refactor: Fix linting --- pyart/aux_io/rainbow_wrl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyart/aux_io/rainbow_wrl.py b/pyart/aux_io/rainbow_wrl.py index ba9d3eca84..2fe3b1cf89 100755 --- a/pyart/aux_io/rainbow_wrl.py +++ b/pyart/aux_io/rainbow_wrl.py @@ -282,7 +282,7 @@ def read_rainbow_wrl( # all sweeps have to have the same range resolution for i in range(nslices): slice_info = rbf["volume"]["scan"]["slice"][i] - if (slice_info['rangestep'] != common_slice_info["rangestep"]): + if slice_info['rangestep'] != common_slice_info["rangestep"]: raise ValueError("range resolution changes between sweeps") r_res = float(common_slice_info["rangestep"]) * 1000.0 @@ -354,7 +354,7 @@ def read_rainbow_wrl( slice_info["slicedata"]["rawdata"], rays_per_sweep[i], nbins_sweep[i], - maxbin + maxbin, ) if bfile.endswith(".vol") or bfile.endswith(".azi"):