Driver Maintenance: retevis_rt1

1. Add to PEP8 manifest
2. Perform PEP8 cleanup

fixes #8621
This commit is contained in:
Jim Unroe 2020-12-31 22:47:47 -05:00
parent 06984dc9ab
commit 9ee0dc80c8
3 changed files with 5 additions and 4 deletions

View file

@ -304,7 +304,7 @@ def do_upload(radio):
bands = ["VHF", "UHF"]
image_band = radio_band = "unknown"
for i in range(0,2):
for i in range(0, 2):
if image_model == MODELS[i]:
image_band = bands[i]
if radio_model == MODELS[i]:
@ -672,8 +672,8 @@ class RT1Radio(chirp_common.CloneModeRadio):
val = _settings.scanspeed
rs = RadioSetting("scanspeed", "Scan Speed[ms]",
RadioSettingValueList(
LIST_SCANSPEED,
LIST_SCANSPEED[val]))
LIST_SCANSPEED,
LIST_SCANSPEED[val]))
basic.append(rs)
if _settings.scandelay > 27:
@ -738,7 +738,7 @@ class RT1Radio(chirp_common.CloneModeRadio):
# testing the file data size
if len(filedata) in [0x0400, ]:
match_size = True
# testing the model fingerprint
match_model = model_match(cls, filedata)

Binary file not shown.

View file

@ -75,6 +75,7 @@
./chirp/drivers/mursv1.py
./chirp/drivers/puxing.py
./chirp/drivers/radioddity_r2.py
./chirp/drivers/retevis_rt1.py
./chirp/drivers/retevis_rt22.py
./chirp/drivers/rfinder.py
./chirp/drivers/template.py