From 3ac95065173d07b1e38637d3293bc6c6fa70f5dd Mon Sep 17 00:00:00 2001 From: Yuneng Jiang Date: Tue, 19 May 2026 21:36:15 -0700 Subject: [PATCH] style(proxy_behavior): apply black to G3 grep test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Follow-up to 6f588c753b — line-length fixes only, no behavior change. --- .../management/test_no_management_imports.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/proxy_behavior/management/test_no_management_imports.py b/tests/proxy_behavior/management/test_no_management_imports.py index f5409b8e372..39f871aa556 100644 --- a/tests/proxy_behavior/management/test_no_management_imports.py +++ b/tests/proxy_behavior/management/test_no_management_imports.py @@ -45,7 +45,9 @@ def test_no_management_endpoint_imports(): for path in _iter_py_files(): for lineno, line in enumerate(path.read_text().splitlines(), start=1): if FORBIDDEN_IMPORT.search(line): - violations.append(f"{path.relative_to(REPO_ROOT)}:{lineno}: {line.strip()}") + violations.append( + f"{path.relative_to(REPO_ROOT)}:{lineno}: {line.strip()}" + ) assert not violations, ( "tests/proxy_behavior/ must not import from litellm.proxy.management_endpoints " "(G3 — assert at the HTTP boundary). Violations:\n " + "\n ".join(violations) @@ -57,7 +59,9 @@ def test_no_user_api_key_auth_mocking(): for path in _iter_py_files(): for lineno, line in enumerate(path.read_text().splitlines(), start=1): if FORBIDDEN_AUTH_MOCK.search(line): - violations.append(f"{path.relative_to(REPO_ROOT)}:{lineno}: {line.strip()}") + violations.append( + f"{path.relative_to(REPO_ROOT)}:{lineno}: {line.strip()}" + ) assert not violations, ( "tests/proxy_behavior/ must not mock user_api_key_auth (G3 — auth runs for " "real). Violations:\n " + "\n ".join(violations)