Cleanup hacking scripts to prepare for pylint update. (#75474)

* Use generator in get_recent_coverage_runs.py
* Use from import in test-module.py
This commit is contained in:
Matt Clay
2021-08-11 13:18:40 -07:00
committed by GitHub
parent 04009a77e6
commit a5b0626176
2 changed files with 2 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ def get_coverage_runs():
artifact_response.raise_for_status()
artifacts = artifact_response.json()['value']
if any([a["name"].startswith("Coverage") for a in artifacts]):
if any(a["name"].startswith("Coverage") for a in artifacts):
# TODO wrongfully skipped if all jobs failed.
coverage_runs.append(run)