[chirp_devel] [PATCH 33/35] Fix style issues in icw32.py (#2355)

Zachary T Welch
Tue Mar 3 17:48:45 PST 2015


# HG changeset patch
# User Zachary T Welch <zach at mandolincreekfarm.com>
# Fake Node ID 31886abc676b9b0a4e2d7b292091ea768fad1937

Fix style issues in icw32.py (#2355)


diff --git a/chirp/drivers/icw32.py b/chirp/drivers/icw32.py
index 601f113..356d81a 100644
--- a/chirp/drivers/icw32.py
+++ b/chirp/drivers/icw32.py
@@ -61,12 +61,14 @@ struct {
 DUPLEX = ["", "", "-", "+"]
 TONE = ["", "", "Tone", "TSQL"]
 
+
 def _get_special():
     special = {}
     for i in range(0, 5):
         special["M%iA" % (i+1)] = 100 + i*2
         special["M%iB" % (i+1)] = 100 + i*2 + 1
-    return special            
+    return special
+
 
 @directory.register
 class ICW32ARadio(icf.IcomCloneModeRadio):
@@ -94,7 +96,7 @@ class ICW32ARadio(icf.IcomCloneModeRadio):
         rf.valid_tmodes = ["", "Tone", "TSQL"]
         rf.valid_name_length = 8
         rf.valid_special_chans = sorted(_get_special().keys())
-    
+
         rf.has_sub_devices = self.VARIANT == ""
         rf.has_ctone = True
         rf.has_dtcs = False
@@ -187,12 +189,14 @@ class ICW32ARadio(icf.IcomCloneModeRadio):
             return False
         return filedata[-16:] == "IcomCloneFormat3"
 
+
 class ICW32ARadioVHF(ICW32ARadio):
     """ICW32 VHF subdevice"""
     VARIANT = "VHF"
     _limits = (118000000, 174000000)
     _mem_positions = (0x0000, 0x0DC0)
 
+
 class ICW32ARadioUHF(ICW32ARadio):
     """ICW32 UHF subdevice"""
     VARIANT = "UHF"
diff --git a/tools/cpep8.blacklist b/tools/cpep8.blacklist
index 31d7067..d4143c2 100644
--- a/tools/cpep8.blacklist
+++ b/tools/cpep8.blacklist
@@ -1,6 +1,5 @@
 # cpep8.blacklist: The list of files that do not meet PEP8 standards.
 # DO NOT ADD NEW FILES!!  Instead, fix the code to be compliant.
 # Over time, this list should shrink and (eventually) be eliminated.
-./chirp/drivers/icw32.py
 ./chirp/drivers/icx8x.py
 ./chirp/drivers/icx8x_ll.py




More information about the chirp_devel mailing list