Skip to content

Commit

Permalink
Make ruff happy
Browse files Browse the repository at this point in the history
  • Loading branch information
BSchilperoort committed Jan 11, 2024
1 parent c2a101a commit 71f8cb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion PyStemmusScope/bmi/docker_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 71f8cb8

Please sign in to comment.