diff options
| author | Yogeswaran Umasankar <kd8mbd@gmail.com> | 2024-01-23 18:18:10 +0000 |
|---|---|---|
| committer | Yogeswaran Umasankar <kd8mbd@gmail.com> | 2024-01-23 18:18:10 +0000 |
| commit | ad673d549a9ee5ea088fd176a4f0b53f613317cf (patch) | |
| tree | 4101c64abd9b257617eae435a0c9454158834234 /tools | |
| parent | 3fb9a4f3be0ff3380d6741519b995680900d8ee2 (diff) | |
| parent | 99bce70f3ca5cea0eb28f5158cfa00803cf6a19a (diff) | |
Update upstream source from tag 'upstream/20240122'
Update to upstream version '20240122'
with Debian dir 8ec9594bab79dc9e415c150c27235783f0c70227
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/check_commit.sh | 6 | ||||
| -rw-r--r-- | tools/cpep8.blacklist | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/tools/check_commit.sh b/tools/check_commit.sh index 5a86e33..84b69db 100755 --- a/tools/check_commit.sh +++ b/tools/check_commit.sh @@ -46,12 +46,12 @@ if grep -E "[^_]_\([^\"']" added_lines; then fail 'Translated strings must be literals!' fi -if grep '/cpep8.manifest' added_lines; then +if git diff ${BASE}.. 'tools/cpep8.manifest' | tail -n +5 | grep -q '^+'; then fail 'Do not add new files to cpep8.manifest; no longer needed' fi -if grep '/cpep8.blacklist' added_lines; then - fail 'Do not add new files to cpep8.blacklist' +if git diff ${BASE}.. 'tools/cpep8.blacklist' | tail -n +5 | grep -q '^+'; then + fail 'Do not add new files to cpep8.blacklist; fix the code' fi grep -i 'license' added_lines > license_lines diff --git a/tools/cpep8.blacklist b/tools/cpep8.blacklist index 7011690..a6acd4b 100644 --- a/tools/cpep8.blacklist +++ b/tools/cpep8.blacklist @@ -2,13 +2,11 @@ # DO NOT ADD NEW FILES!! Instead, fix the code to be compliant. # Over time, this list should shrink and (eventually) be eliminated. ./chirp/drivers/kyd_IP620.py -./chirp/drivers/kguv8dplus.py ./chirp/drivers/ft450d.py ./chirp/drivers/ft70.py ./chirp/drivers/hg_uv98.py ./chirp/drivers/hobbypcb.py ./chirp/drivers/retevis_rb28.py -./chirp/drivers/bj9900.py ./chirp/drivers/th7800.py ./chirp/drivers/icx90.py ./chirp/drivers/kguv8e.py |
