style: auto-fix ruff formatting in support.py

Co-authored-by: mohammed ahmed <undefined@users.noreply.github.com>
This commit is contained in:
claude[bot] 2026-04-01 15:21:51 +00:00
parent c62ede0d8e
commit bc6daeeeb8

View file

@ -367,11 +367,11 @@ class JavaScriptSupport:
# Include 'export' keyword if the class is exported
export_keyword = "export " if is_exported else ""
if class_jsdoc:
target_code = (
f"{class_jsdoc}\n{class_indent}{export_keyword}class {class_name} {{\n{class_body}{class_indent}}}\n"
)
target_code = f"{class_jsdoc}\n{class_indent}{export_keyword}class {class_name} {{\n{class_body}{class_indent}}}\n"
else:
target_code = f"{class_indent}{export_keyword}class {class_name} {{\n{class_body}{class_indent}}}\n"
target_code = (
f"{class_indent}{export_keyword}class {class_name} {{\n{class_body}{class_indent}}}\n"
)
else:
# Fallback: wrap with no indentation, including same-class helpers
helper_code = "\n".join(h[1] for h in same_class_helpers)