From 218ea8868317ffb6cf9db087e7bb062faa7f787c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Fri, 23 Dec 2022 00:48:00 +0100 Subject: cq: Scripts: cast filename to string --- .ci/deploy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.ci') diff --git a/.ci/deploy.py b/.ci/deploy.py index 96683bfdc..1dbd70c53 100755 --- a/.ci/deploy.py +++ b/.ci/deploy.py @@ -1,6 +1,7 @@ #!/usr/bin/env python3 from typing import Any +from typing import cast from typing import Optional import functools @@ -102,7 +103,7 @@ def download_artifacts(path: Path) -> None: for response in responses: for artifact in response: - filename = artifact['fileName'] + filename = cast(str, artifact['fileName']) file_url = artifact['fileUrl'] log.info('Download %s', filename) -- cgit v1.2.3