mirror of
https://github.com/codeflash-ai/codeflash.git
synced 2026-05-04 18:25:17 +00:00
style: auto-fix ruff formatting in support.py
Co-authored-by: mohammed ahmed <undefined@users.noreply.github.com>
This commit is contained in:
parent
c62ede0d8e
commit
bc6daeeeb8
1 changed files with 4 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue