Cleanup: tweak multi-line parenthesis for Python scripts

Reduce right shift, moving closing parenthesis onto own line
for clarity & reducing diff noise in some cases.

Ref !147857
This commit is contained in:
Campbell Barton
2025-10-12 03:31:31 +00:00
parent ffa750fd5e
commit 7a249222be
33 changed files with 287 additions and 164 deletions

View File

@@ -16,11 +16,11 @@ class CustomMenu(bpy.types.Menu):
layout.label(text="Hello world!", icon='WORLD_DATA')
# use an operator enum property to populate a sub-menu
layout.operator_menu_enum("object.select_by_type",
property="type",
text="Select All by Type",
)
layout.operator_menu_enum(
"object.select_by_type",
property="type",
text="Select All by Type",
)
# call another menu
layout.operator("wm.call_menu", text="Unwrap").name = "VIEW3D_MT_uv_map"