ITADN
cclauss/itinerant-tester
README.md
以下内容由 AI 翻译,如有问题请点此提交 issue 反馈

流动测试员

Open in VS Code

为每个GitHub Trending Python 仓库创建 GitHub Actions,用于运行 ruff 及其他测试。

有没有不同的方法?假如我有一个本地的 Python 命令行应用程序,它可以接收一个或多个仓库的名称,然后提交一个更新后的 GitHub Actions .yml 文件,用于测试这些仓库。该提交会触发 GitHub Actions 在单独的作业中测试每一个仓库。

Appveyor https://github.com/google/protobuf/pull/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