From a5c4b91d3cd7eee1c296e6b67d273dfe970506ff Mon Sep 17 00:00:00 2001 From: Clement Rey Date: Fri, 20 Dec 2024 10:20:46 +0100 Subject: [PATCH] format --- .../release_checklist/check_all_components_ui.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/python/release_checklist/check_all_components_ui.py b/tests/python/release_checklist/check_all_components_ui.py index ef845a3cf2b2..d5fb1629d430 100644 --- a/tests/python/release_checklist/check_all_components_ui.py +++ b/tests/python/release_checklist/check_all_components_ui.py @@ -35,9 +35,9 @@ def __init__( alternatives: Iterable[Any] | None = None, disabled: bool = False, ): - assert (single is not None) ^ (batch is not None) ^ (alternatives is not None) ^ disabled, ( - "Exactly one of single, batch, or alternatives must be provided" - ) + assert ( + (single is not None) ^ (batch is not None) ^ (alternatives is not None) ^ disabled + ), "Exactly one of single, batch, or alternatives must be provided" if batch is not None: batch = list(batch) @@ -255,9 +255,9 @@ def log_readme() -> None: def log_some_views() -> None: # check that we didn't forget a component missing_components = set(c for c in dir(rr.components) if c.endswith("Batch")) - set(ALL_COMPONENTS.keys()) - assert len(missing_components) == 0, ( - f"Some components are missing from the `ALL_COMPONENTS` dictionary: {missing_components}" - ) + assert ( + len(missing_components) == 0 + ), f"Some components are missing from the `ALL_COMPONENTS` dictionary: {missing_components}" # log all components as len=1 batches rr.log(