From 71f8cb81b1c41c853c5c59d0e7d80a56b50a88cc Mon Sep 17 00:00:00 2001 From: Bart Schilperoort Date: Thu, 11 Jan 2024 14:40:21 +0100 Subject: [PATCH] Make ruff happy --- PyStemmusScope/bmi/docker_utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PyStemmusScope/bmi/docker_utils.py b/PyStemmusScope/bmi/docker_utils.py index 5b5657be..6dabaf4a 100644 --- a/PyStemmusScope/bmi/docker_utils.py +++ b/PyStemmusScope/bmi/docker_utils.py @@ -72,7 +72,8 @@ def find_image(image: str) -> None: images = client.images() tags = [] for img in images: - [tags.append(tag) for tag in img["RepoTags"]] + for tag in img["RepoTags"]: + tags.append(tag) if image not in set(tags): pull_image(image)