mirror of
https://github.com/ansible/ansible-documentation.git
synced 2026-03-26 13:18:58 +07:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user