Skip to content

Commit 030dc94

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c578ebb commit 030dc94

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

tests/fixtures/guardrails.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,13 @@
1414
from ocp_resources.route import Route
1515

1616
from tests.fixtures.inference import get_vllm_chat_config
17-
from utilities.constants import HAP_DETECTOR, PROMPT_INJECTION_DETECTOR
18-
from utilities.constants import BUILTIN_DETECTOR_CONFIG, Annotations, Labels, VLLMGPUConfig
17+
from utilities.constants import (
18+
BUILTIN_DETECTOR_CONFIG,
19+
HAP_DETECTOR,
20+
PROMPT_INJECTION_DETECTOR,
21+
Annotations,
22+
Labels,
23+
)
1924
from utilities.guardrails import check_guardrails_health_endpoint
2025

2126
GUARDRAILS_ORCHESTRATOR_NAME: str = "guardrails-orchestrator"
@@ -222,7 +227,6 @@ def guardrails_orchestrator_gateway_route(
222227
)
223228

224229

225-
226230
@pytest.fixture(scope="class")
227231
def orchestrator_config_gpu(
228232
request: FixtureRequest,
@@ -288,4 +292,4 @@ def orchestrator_config_gpu(
288292
data=orchestrator_data,
289293
teardown=teardown_resources,
290294
) as cm:
291-
yield cm
295+
yield cm

0 commit comments

Comments
 (0)