[chirp_devel] [PATCH] Supress console spew from python-future warning in non-debug builds

Jim Unroe
Wed Sep 29 05:09:02 PDT 2021


On Wed, Sep 29, 2021 at 1:27 AM Kosta Arvanitis via chirp_devel
<chirp_devel at intrepid.danplanet.com> wrote:
>
> Thanks for fixing that.., do the test/style checks run on windows?  Last time I checked they did not, is there another way to validate as i would be happy to run the test.
>

They work for me. The driver needs to be in the cpep8.manifest list or
it will not be style shcekcd.

D:\chirp.hg>python test\run_test.py

D:\chirp.hg>python tools\cpep8.py

I use a batch file that I created called RT.BAT to test the driver I'm
working on and perform style checks on all drivers in the
cpep8.manifest list

@echo off
python tests\run_tests.py -d %1
python tools\cpep8.py

I use it like this.

D:\chirp.hg>rt {vendor}_{model}

This will test support for the Baofeng BF-888S radio and style check
the h777.py driver (and all other drivers listed in cpep8.manifest)

D:\chirp.hg>rt Baofeng_BF-888

Don't forget to make sure that your driver is in the cpep8.manifest
list (tools\cpep8.manifest). If it is not listed in the manifest, add
it as part of your driver maintenance. Without it, the driver will be
ignored by the style check and you will be given the false impression
that it passed.

Jim KC9HI



More information about the chirp_devel mailing list