Skip to content

Commit 0568398

Browse files
yqtian-seclaude
andcommitted
Format codegen/datatypes.py with ruff
The get_implied_edits_code() function added in the previous commit uses triple single quotes for multi-line strings. Ruff standardizes on triple double quotes, so reformatting the file to comply with the project's formatting rules. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
1 parent 25c9845 commit 0568398

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

codegen/datatypes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def get_implied_edits_code(node):
107107
return None
108108

109109
# Generate the code
110-
code = f'''
110+
code = f"""
111111
# Apply impliedEdits: if any of contours.{"/".join(trigger_props)} are set,
112112
# autocontour should be False unless explicitly set by the user
113113
if "contours" in self._props and self._props["contours"] is not None:
@@ -126,7 +126,7 @@ def get_implied_edits_code(node):
126126
)
127127
if triggers_autocontour_false and autocontour is None:
128128
self._set_property("autocontour", {{}}, False)
129-
'''
129+
"""
130130
return code
131131

132132

0 commit comments

Comments
 (0)