From 26120382d9c2785c4cb2ed4110f87555a74dfa7b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 29 Jul 2026 07:30:26 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- studio/backend/tests/test_desktop_auth.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/studio/backend/tests/test_desktop_auth.py b/studio/backend/tests/test_desktop_auth.py index bc3b407f19..93134c93f3 100644 --- a/studio/backend/tests/test_desktop_auth.py +++ b/studio/backend/tests/test_desktop_auth.py @@ -165,11 +165,14 @@ def test_upgrade_normalises_the_bootstrap_file(): assert storage.get_bootstrap_password() == "legacy-bootstrap-secret" -@pytest.mark.parametrize("other", [ - b"legacy-bootstrap-secret\r\n", # only an unreleased build wrote this - b"legacy-bootstrap-secret\r", - b"legacy-bootstrap-secret ", -]) +@pytest.mark.parametrize( + "other", + [ + b"legacy-bootstrap-secret\r\n", # only an unreleased build wrote this + b"legacy-bootstrap-secret\r", + b"legacy-bootstrap-secret ", + ], +) def test_only_an_exactly_untermimated_bootstrap_file_is_touched(other): # Appending is safe precisely because it is restricted to the one shape # released code produced. Everything else reads fine and is left alone.