Skip to content

Commit 282b23c

Browse files
kwentclaude
andcommitted
Fix ruff formatting on fix_openapi_escalation_paths.py
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 83bbb01 commit 282b23c

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tools/fix_openapi_escalation_paths.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ def fix_spec(data: dict) -> int:
3636
print("new_escalation_policy_path not found in spec")
3737
return 1
3838

39-
source_items = (
40-
source_schema["properties"]["data"]["properties"]["attributes"]["properties"]["rules"]["items"]
41-
)
39+
source_items = source_schema["properties"]["data"]["properties"]["attributes"]["properties"]["rules"]["items"]
4240

4341
if "oneOf" not in source_items and "anyOf" not in source_items:
4442
print("No oneOf/anyOf found in rules items")

0 commit comments

Comments
 (0)