From 078ca52c2215a2870ecffa62002f572a34b05017 Mon Sep 17 00:00:00 2001 From: HAL9000 Date: Thu, 23 Apr 2026 11:54:44 +0000 Subject: [PATCH] style: apply ruff format to resource_type_inheritance_cycle_detection_steps.py Collapse two-line function signature to single line to satisfy ruff format check. --- .../steps/resource_type_inheritance_cycle_detection_steps.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/features/steps/resource_type_inheritance_cycle_detection_steps.py b/features/steps/resource_type_inheritance_cycle_detection_steps.py index 66ad6cd96..8c303e71b 100644 --- a/features/steps/resource_type_inheritance_cycle_detection_steps.py +++ b/features/steps/resource_type_inheritance_cycle_detection_steps.py @@ -92,9 +92,7 @@ def step_creation_failed(context: Any, fragment: str) -> None: @then('the creation should fail with "{fragment1}" or "{fragment2}"') -def step_creation_failed_either( - context: Any, fragment1: str, fragment2: str -) -> None: +def step_creation_failed_either(context: Any, fragment1: str, fragment2: str) -> None: """Assert that creation failed with an error containing either fragment.""" err = context.creation_error # type: ignore[attr-defined] assert err is not None, "Expected creation to fail but it succeeded"