style: Remove trailing whitespace

This commit is contained in:
Paul Gauthier (aider) 2025-03-31 11:41:51 +13:00
parent 83c599e741
commit 2d3162a90b

View file

@ -474,13 +474,14 @@ def get_testimonials_js():
if len(author_parts) > 1: if len(author_parts) > 1:
author = author_parts[1].strip() author = author_parts[1].strip()
testimonials.append({ testimonials.append(
"text": quote_text, {"text": quote_text, "author": author, "link": link}
"author": author, )
"link": link
})
except Exception as e: except Exception as e:
print(f"Error parsing testimonial line: {line}. Error: {e}", file=sys.stderr) print(
f"Error parsing testimonial line: {line}. Error: {e}",
file=sys.stderr,
)
continue continue
# Format as JavaScript array with script tags # Format as JavaScript array with script tags