Clean up scripts

This commit is contained in:
Bart
2025-12-23 10:08:44 -05:00
parent 90234d1fd0
commit 9de4bcac05
3 changed files with 3 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ Also note that to create a Docker image we ideally build on both AMD64 and
ARM64 to create a multi-arch image. Both configs should therefore be triggered
by the same event. However, as the script outputs individual configs, the
workflow must be able to run both builds separately and then merge the
single-arch images afterwards into a multi-arch image.
single-arch images afterward into a multi-arch image.
### MacOS

View File

@@ -458,9 +458,7 @@ def test_generate_configs(macos_distro, windows_distro, linux_distro):
]
def test_generate_configs_raises_on_duplicate_configs(
macos_distro, windows_distro, linux_distro
):
def test_generate_configs_raises_on_duplicate_configs(macos_distro):
trigger = Trigger.COMMIT
distros = [macos_distro, macos_distro]

View File

@@ -6,7 +6,7 @@ from typing import Any
def is_unique(items: list[Any]) -> bool:
"""Check if a list of dataclass objects contains only unique items.
As the items may not be hashable, we convert them to json strings first, and
As the items may not be hashable, we convert them to JSON strings first, and
then check if the list of strings is the same size as the set of strings.
Args: