Skip to content

Commit a0b17ee

Browse files
committed
fix lint
1 parent 5d08ce8 commit a0b17ee

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tools/torchci/check_alerts.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,9 @@ def handle_flaky_tests_alert(
524524
def filter_job_names(job_names: List[str], job_name_regex: str) -> List[str]:
525525
if job_name_regex:
526526
return [
527-
job_name for job_name in job_names if re.match(job_name_regex, job_name, re.IGNORECASE)
527+
job_name
528+
for job_name in job_names
529+
if re.match(job_name_regex, job_name, re.IGNORECASE)
528530
]
529531
return job_names
530532

0 commit comments

Comments
 (0)