Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 953 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 953 Bytes

Itinerant Tester

Open in VS Code

Create GitHub Actions for running ruff and other tests on each of the GitHub Trending Python repos.

What about a different approach? What if I have a local Python command line app that accepts the name of one or more repos and it commits an updated GitHub Actions .yml file that tests those repos. That commit will cause GitHub Actions to test each of those repos in a separate job.

Appveyor protocolbuffers/protobuf#4756

% bandit --recursive . > bandit.txt
% python3
>>> with open("bandit.txt") as in_file:
...     errors = sorted(set(line[11:15] for line in in_file if line.startswith(">> ")))
...
>>> print(",".join(errors))
B101,B102,B105,B106,B107,B110,B303,B311,B320,B403,B404,B410,B602,B603,B604,B607,B608,B701