[chirp_devel] [PATCH 17/35] Fix style issues in th_uv3r25.py (#2355)
Zachary T Welch
Tue Mar 3 17:48:29 PST 2015
# HG changeset patch
# User Zachary T Welch <zach at mandolincreekfarm.com>
# Fake Node ID 55fa8bef229cbba3f2ccb42c00b85dc3c465886e
Fix style issues in th_uv3r25.py (#2355)
diff --git a/chirp/drivers/th_uv3r25.py b/chirp/drivers/th_uv3r25.py
index 35a3fa4..bba73d4 100644
--- a/chirp/drivers/th_uv3r25.py
+++ b/chirp/drivers/th_uv3r25.py
@@ -64,6 +64,7 @@ u8 skipflags[16];
VOICE_MODE_LIST = ["Compander", "Scrambler", "None"]
+
@directory.register
class TYTUV3R25Radio(TYTUV3RRadio):
MODEL = "TH-UV3R-25"
@@ -144,8 +145,9 @@ class TYTUV3R25Radio(TYTUV3RRadio):
mem.extra.append(rs)
rs = RadioSetting("voice_mode", "Voice Mode",
- RadioSettingValueList(VOICE_MODE_LIST,
- VOICE_MODE_LIST[_mem.voice_mode-1]))
+ RadioSettingValueList(
+ VOICE_MODE_LIST,
+ VOICE_MODE_LIST[_mem.voice_mode-1]))
mem.extra.append(rs)
return mem
@@ -202,7 +204,6 @@ class TYTUV3R25Radio(TYTUV3RRadio):
else:
setattr(_mem, element.get_name(), element.value)
-
@classmethod
def match_model(cls, filedata, filename):
return len(filedata) == cls._memsize
diff --git a/tools/cpep8.blacklist b/tools/cpep8.blacklist
index 274879b..73329ba 100644
--- a/tools/cpep8.blacklist
+++ b/tools/cpep8.blacklist
@@ -17,7 +17,6 @@
./chirp/drivers/icw32.py
./chirp/drivers/icx8x.py
./chirp/drivers/icx8x_ll.py
-./chirp/drivers/th_uv3r25.py
./chirp/drivers/th_uvf8d.py
./chirp/drivers/tmv71.py
./chirp/drivers/tmv71_ll.py
More information about the chirp_devel
mailing list