fix(generator): align template and post-processor formatting#13028
fix(generator): align template and post-processor formatting#13028
Conversation
There was a problem hiding this comment.
Code Review
This pull request modifies the formatting of owlbot.py and its Jinja2 template, specifically adjusting list item commas and closing brackets. A high-severity syntax error was identified in the template logic that would result in invalid Python code when template_excludes is provided, as it generates redundant closing parentheses. A fix was suggested to correctly handle the conditional closing of the function call.
|
|
|
cc: @zhumin8. We may need sync Librarian with this change. |



This PR aligns the
owlbot.py.j2template with the formatting expected byupdate_owlbot_postprocessor_config.sh(no trailing comma on the last element and])closing tag), and synchronizes the existingowlbot.pyfiles.