Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Format the release permissions test to the kwarg-spacing hook (#8245)

Daniel Han4bd9a2b8c38b
diff --git a/tests/security/test_release_desktop_permissions.py b/tests/security/test_release_desktop_permissions.py
index d55b8d5a670..9ab0bb52e57 100644
--- a/tests/security/test_release_desktop_permissions.py
+++ b/tests/security/test_release_desktop_permissions.py
@@ -63,12 +63,12 @@ def test_build_matrix_hands_off_assets_without_release_credentials():
# publish on a leg that did not succeed, and refuse to publish a leg whose
# job record never appeared, rather than defaulting to "finished".
assert publish["needs"] == ["prepare-version"]
- wait = next(step for step in publish["steps"] if step.get("name") == "Wait for the build matrix")
+ wait = next(
+ step for step in publish["steps"] if step.get("name") == "Wait for the build matrix"
+ )
wait_run = wait["run"]
- matrix_legs = {
- f"Build {entry['label']}" for entry in build["strategy"]["matrix"]["include"]
- }
+ matrix_legs = {f"Build {entry['label']}" for entry in build["strategy"]["matrix"]["include"]}
assert len(matrix_legs) == len(tauri_steps)
for leg in matrix_legs:
assert f"'{leg}'" in wait_run, leg