From 7c8f1eb40ddcdaad35b4e3142865ffa7c2ae48e4 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 25 May 2026 07:15:28 +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_llama_cpp_no_context_shift.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/studio/backend/tests/test_llama_cpp_no_context_shift.py b/studio/backend/tests/test_llama_cpp_no_context_shift.py index 97c48cb033..c49900812e 100644 --- a/studio/backend/tests/test_llama_cpp_no_context_shift.py +++ b/studio/backend/tests/test_llama_cpp_no_context_shift.py @@ -80,9 +80,7 @@ def _load_model_source() -> str: two load entry points, not the entire module). """ parts = [inspect.getsource(llama_cpp_module.LlamaCppBackend.load_model)] - impl = getattr( - llama_cpp_module.LlamaCppBackend, "_load_model_impl_locked", None - ) + impl = getattr(llama_cpp_module.LlamaCppBackend, "_load_model_impl_locked", None) if impl is not None: parts.append(inspect.getsource(impl)) return "\n".join(parts)