Skip to content

Commit de88653

Browse files
committed
ruff
1 parent 40e8278 commit de88653

2 files changed

Lines changed: 997 additions & 988 deletions

File tree

gdocs/docs_tools.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,16 @@ async def modify_doc_text(
403403
return f"Error: {error_msg}"
404404

405405
# Validate that we have something to do
406-
formatting_params = [bold, italic, underline, font_size, font_family, text_color, background_color, link_url]
406+
formatting_params = [
407+
bold,
408+
italic,
409+
underline,
410+
font_size,
411+
font_family,
412+
text_color,
413+
background_color,
414+
link_url,
415+
]
407416
if text is None and not any(p is not None for p in formatting_params):
408417
return "Error: Must provide either 'text' to insert/replace, or formatting parameters (bold, italic, underline, font_size, font_family, text_color, background_color, link_url)."
409418

0 commit comments

Comments
 (0)