[chirp_devel] [PATCH 00/22] Got Style?

Zach Welch
Sat Feb 28 22:54:37 PST 2015


This series of patches address the style issues in all of the Python
files except for the radio drivers.  All of them are trivial patches,
as 99% of the changes are adjusting whitespace in one form or another.
I did introduce temporary variables here or there or rewrite a lambda to
a def, but I double-checked those spots carefully (and all tests pass).

The most notable change is the first patch to allow exceptions, as some
allowance was needed in a few files.

Zach Welch (22):
  Allow cpep8.py script to make exceptions (#2355)
  Fix style issues in run_tests (#2355)
  Fix style issues in unit tests (#2355)
  Fix style issues in csvdump scripts (#2355)
  Fix style issues in make_supported.py (#2355)
  Fix style issues in chirp_common.py (#2355)
  Fix style issues in bitwise.py (#2355)
  Fix style issues in settings.py (#2355)
  Fix style issues in elib_intl.py (#2355)
  Fix style issues in pyPEG.py (#2355)
  Fix style issues in bandplans (#2355)
  Fix style issues in chirp module (#2355)
  Fix style issues in common.py (#2355)
  Fix style issues in editorset.py (#2355)
  Fix style issues in importdialog.py (#2355)
  Fix style issues in mainapp.py (#2355)
  Fix style issues in memdetail.py (#2355)
  Fix style issues in memedit.py (#2355)
  Fix style issues in miscwidgits.py (#2355)
  Fix style issues in reporting.py (#2355)
  Fix style issues in fips.py (#2355)
  Fix style issues in tools (#2355)

 chirp/__init__.py                |   4 +-
 chirp/bandplan_au.py             |   5 +-
 chirp/bandplan_iaru_r1.py        |  19 +-
 chirp/bandplan_na.py             |  25 +-
 chirp/bitwise.py                 | 145 +++++-----
 chirp/chirp_common.py            | 270 ++++++++++--------
 chirp/elib_intl.py               | 575 ++++++++++++++++++++-------------------
 chirp/pyPEG.py                   | 127 ++++++---
 chirp/settings.py                |  46 ++--
 chirpui/common.py                |  53 ++--
 chirpui/editorset.py             |  46 ++--
 chirpui/fips.py                  | 373 +++++++++++++------------
 chirpui/importdialog.py          |  92 ++++---
 chirpui/mainapp.py               | 303 ++++++++++++---------
 chirpui/memdetail.py             | 114 ++++----
 chirpui/memedit.py               | 284 ++++++++++---------
 chirpui/miscwidgets.py           | 104 +++----
 chirpui/reporting.py             |  22 +-
 csvdump/csvapp.py                |  36 +--
 csvdump/csvdump.py               |  55 ++--
 share/make_supported.py          |  25 +-
 tests/run_tests                  | 173 +++++++-----
 tests/unit/test_import_logic.py  |  11 +-
 tests/unit/test_memedit_edits.py |  11 +-
 tests/unit/test_settings.py      |   7 +-
 tools/bitdiff.py                 | 171 +++++++-----
 tools/cpep8.blacklist            |  29 --
 tools/cpep8.exceptions           |   7 +
 tools/cpep8.py                   |  40 ++-
 tools/img2thd72.py               |  36 +--
 30 files changed, 1776 insertions(+), 1432 deletions(-)
 create mode 100644 tools/cpep8.exceptions

-- 
1.9.1




More information about the chirp_devel mailing list