Skip to content

Commit 2e122e4

Browse files
committed
Update ci_utils.py
1 parent 15a5489 commit 2e122e4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ci/fireci/fireci/ci_utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
import os
1717
import subprocess
1818

19+
from typing import List
20+
1921
_logger = logging.getLogger('fireci.ci_utils')
2022

2123

@@ -62,7 +64,7 @@ def gcloud_identity_token():
6264
result = subprocess.run(['gcloud', 'auth', 'print-identity-token'], stdout=subprocess.PIPE, check=True)
6365
return result.stdout.decode('utf-8').strip()
6466

65-
def get_projects(file_path: str = "subprojects.cfg") -> list[str]:
67+
def get_projects(file_path: str = "subprojects.cfg") -> List[str]:
6668
"""Parses the specified file for a list of projects in the repo."""
6769
with open(file_path, 'r') as file:
6870
stripped_lines = [line.strip() for line in file]

0 commit comments

Comments
 (0)