[chirp_devel] Issues with PEP8 style checking
I have been working on updating a driver to support a new radio model. There will be quite a few changes so I want to check my progress for errors.
I do most of my development on a Windows 7 computer so I make a copy of the run_all_test.bat file and name it rat.bat for less typing and so I can edit it so it will run under Windows.
Running rat.bat executed fine and finished without errors. This seemed unusual for me so I intentionally introduced some style errors in my driver. Still no errors.
So now I execute rat.bat with the -v switch and watch it run through the file. The driver I am working on is not tested. Many drivers are not tested.
Only 3 of the 4 drivers starting with "a" are tested. Only 2 of the 5 drivers starting with "b" are tested. Only 14 of the 20 drivers starting with "f" are tested. Only 3 of the 4 drivers starting with "g" are tested. . . . Only 82 of the 125 drivers are tested.
So now I am thinking there must be something wrong with Windows so I switch to my Linux computer. Same thing. The attached file is the verbose output from my Linux Mint computer.
I will also mention that I tried tox but tox will only run for me when I am switched to the py3 branch.
Any thoughts?
Jim KC9HI
Only 3 of the 4 drivers starting with "a" are tested. Only 2 of the 5 drivers starting with "b" are tested. Only 14 of the 20 drivers starting with "f" are tested. Only 3 of the 4 drivers starting with "g" are tested. . . . Only 82 of the 125 drivers are tested.
Potentially because they're not in tools/cpep8.manifest. I've not done a good job of making sure that things get added to that list, so some are missing. If you add your file(s) there does it fix it?
--Dan
Only 3 of the 4 drivers starting with "a" are tested. Only 2 of the 5 drivers starting with "b" are tested. Only 14 of the 20 drivers starting with "f" are tested. Only 3 of the 4 drivers starting with "g" are tested. . . . Only 82 of the 125 drivers are tested.
Potentially because they're not in tools/cpep8.manifest. I've not done a good job of making sure that things get added to that list, so some are missing. If you add your file(s) there does it fix it?
Yes. Thanks you. Now I see I have work to do. ;-)
Jim
participants (2)
-
Dan Smith
-
Jim Unroe