[chirp_devel] [PATCH 12/22] Fix style issues in chirp module (#2355)
Zach Welch
Sat Feb 28 22:54:49 PST 2015
# HG changeset patch
# User Zach Welch <zach at mandolincreekfarm.com>
# Fake Node ID 416084d4c54526a4cc1240d1455bdd05aa77c3d3
Fix style issues in chirp module (#2355)
diff --git a/chirp/__init__.py b/chirp/__init__.py
index 084af48..7b48821 100644
--- a/chirp/__init__.py
+++ b/chirp/__init__.py
@@ -13,12 +13,12 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-CHIRP_VERSION="0.3.0dev"
-
import os
import sys
from glob import glob
+CHIRP_VERSION = "0.3.0dev"
+
module_dir = os.path.dirname(sys.modules["chirp"].__file__)
__all__ = []
for i in glob(os.path.join(module_dir, "*.py")):
diff --git a/tools/cpep8.blacklist b/tools/cpep8.blacklist
index 36f1013..35c48e4 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/__init__.py
./chirp/alinco.py
./chirp/anytone.py
./chirp/ap510.py
More information about the chirp_devel
mailing list