# HG changeset patch # User Zachary T Welch zach@mandolincreekfarm.com # Fake Node ID 8623aeeb537412d6b35f90ba10b13c635daec41d
Fix style issues in ic9x_icf.py (#2355)
diff --git a/chirp/drivers/ic9x_icf.py b/chirp/drivers/ic9x_icf.py index 666307b..3e3e3d5 100644 --- a/chirp/drivers/ic9x_icf.py +++ b/chirp/drivers/ic9x_icf.py @@ -16,6 +16,7 @@ from chirp.drivers import icf, ic9x_icf_ll from chirp import chirp_common, util, directory, errors
+ # Don't register as this module is used to load icf file from File-Open menu # see do_open in mainapp.py class IC9xICFRadio(chirp_common.CloneModeRadio): @@ -53,6 +54,7 @@ class IC9xICFRadio(chirp_common.CloneModeRadio): return [IC9xICFRadioA(self._mmap), IC9xICFRadioB(self._mmap)]
+ class IC9xICFRadioA(IC9xICFRadio): VARIANT = "ICF File Band A"
@@ -64,6 +66,7 @@ class IC9xICFRadioA(IC9xICFRadio):
return ic9x_icf_ll.get_memory(self._mmap, number)
+ class IC9xICFRadioB(IC9xICFRadio): VARIANT = "ICF File Band B"
diff --git a/tools/cpep8.blacklist b/tools/cpep8.blacklist index 6d3cf8f..1573e99 100644 --- a/tools/cpep8.blacklist +++ b/tools/cpep8.blacklist @@ -1,7 +1,6 @@ # 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/ic9x_icf.py ./chirp/drivers/ic9x_icf_ll.py ./chirp/drivers/ic9x_ll.py ./chirp/drivers/icf.py