style(action): apply ruff format to action_schema_steps.py
CI / typecheck (pull_request) Failing after 1s
CI / build (pull_request) Failing after 1s
CI / lint (pull_request) Successful in 1m15s
CI / helm (pull_request) Failing after 0s
CI / security (pull_request) Successful in 1m29s
CI / quality (pull_request) Successful in 1m31s
CI / coverage (pull_request) Has been skipped
CI / push-validation (pull_request) Failing after 1s
CI / e2e_tests (pull_request) Failing after 4m6s
CI / integration_tests (pull_request) Successful in 7m52s
CI / unit_tests (pull_request) Successful in 10m10s
CI / docker (pull_request) Has been skipped
CI / status-check (pull_request) Failing after 4s
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Successful in 1h4m38s
CI / typecheck (pull_request) Failing after 1s
CI / build (pull_request) Failing after 1s
CI / lint (pull_request) Successful in 1m15s
CI / helm (pull_request) Failing after 0s
CI / security (pull_request) Successful in 1m29s
CI / quality (pull_request) Successful in 1m31s
CI / coverage (pull_request) Has been skipped
CI / push-validation (pull_request) Failing after 1s
CI / e2e_tests (pull_request) Failing after 4m6s
CI / integration_tests (pull_request) Successful in 7m52s
CI / unit_tests (pull_request) Successful in 10m10s
CI / docker (pull_request) Has been skipped
CI / status-check (pull_request) Failing after 4s
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Successful in 1h4m38s
Reformatted two long decorator/function-signature lines in features/steps/action_schema_steps.py to comply with ruff's line length limit. The CI lint job runs both ruff check and ruff format --check; the format check was failing because these lines exceeded the configured maximum line length. No logic changes — formatting only. ISSUES CLOSED: #9105
This commit is contained in:
@@ -137,8 +137,12 @@ def step_given_yaml_with_name(context: Context, name: str) -> None:
|
|||||||
# so that Behave's parse matcher selects the longer match first.
|
# so that Behave's parse matcher selects the longer match first.
|
||||||
|
|
||||||
|
|
||||||
@given('an action YAML string with an argument of type "{arg_type}" and default {default_value}')
|
@given(
|
||||||
def step_given_yaml_with_arg_and_default(context: Context, arg_type: str, default_value: str) -> None:
|
'an action YAML string with an argument of type "{arg_type}" and default {default_value}'
|
||||||
|
)
|
||||||
|
def step_given_yaml_with_arg_and_default(
|
||||||
|
context: Context, arg_type: str, default_value: str
|
||||||
|
) -> None:
|
||||||
"""Provide YAML with an argument that has a specific type and default value."""
|
"""Provide YAML with an argument that has a specific type and default value."""
|
||||||
# Parse the default value from the string representation
|
# Parse the default value from the string representation
|
||||||
# Handle special cases: true/false for booleans, numbers, strings, lists
|
# Handle special cases: true/false for booleans, numbers, strings, lists
|
||||||
|
|||||||
Reference in New Issue
Block a user