From d1a5e9e689353d8f95b8d7cc5aeb2d70b9cb980a Mon Sep 17 00:00:00 2001 From: Achilleas Koutsou Date: Fri, 26 Jan 2024 16:37:40 +0100 Subject: [PATCH] test: error type annotation Make mypy happy. --- test/scripts/imgtestlib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/scripts/imgtestlib.py b/test/scripts/imgtestlib.py index 6140d7f08e..67492d6373 100644 --- a/test/scripts/imgtestlib.py +++ b/test/scripts/imgtestlib.py @@ -299,7 +299,7 @@ def filter_builds(manifests, distro=None, arch=None, skip_ostree_pull=True): # print output which includes list of downloaded files for CI job log print(out) - errors = [] + errors: list[str] = [] osrelease = read_osrelease() distro_version = osrelease["ID"] + "-" + osrelease["VERSION_ID"]