Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-04-13 13:44:34 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-13 13:45:02 +0300
commitcd60843aef84b1801c9e0ff5c8d63926a20435cd (patch)
tree31f0423ec7cc2ba25d9553550c136b95e06878fa /release/scripts
parentf98b6ace5d4958eadf367baa89d1825560136640 (diff)
Cleanup: add trailing commas to wrapped args
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_cloth.py4
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_common.py12
-rw-r--r--release/scripts/startup/bl_ui/space_text.py2
-rw-r--r--release/scripts/startup/bl_ui/space_topbar.py6
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py12
5 files changed, 22 insertions, 14 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_cloth.py b/release/scripts/startup/bl_ui/properties_physics_cloth.py
index 1fc3fcdfdb3..f3d84a7acc0 100644
--- a/release/scripts/startup/bl_ui/properties_physics_cloth.py
+++ b/release/scripts/startup/bl_ui/properties_physics_cloth.py
@@ -332,7 +332,7 @@ class PHYSICS_PT_cloth_property_weights(PhysicButtonsPanel, Panel):
col = flow.column()
col.prop_search(
cloth, "vertex_group_structural_stiffness", ob, "vertex_groups",
- text="Structural Group"
+ text="Structural Group",
)
col.prop(cloth, "tension_stiffness_max", text="Max Tension")
col.prop(cloth, "compression_stiffness_max", text="Max Compression")
@@ -342,7 +342,7 @@ class PHYSICS_PT_cloth_property_weights(PhysicButtonsPanel, Panel):
col = flow.column()
col.prop_search(
cloth, "vertex_group_shear_stiffness", ob, "vertex_groups",
- text="Shear Group"
+ text="Shear Group",
)
col.prop(cloth, "shear_stiffness_max", text="Max Shearing")
diff --git a/release/scripts/startup/bl_ui/properties_physics_common.py b/release/scripts/startup/bl_ui/properties_physics_common.py
index 965b635418f..11a9b250454 100644
--- a/release/scripts/startup/bl_ui/properties_physics_common.py
+++ b/release/scripts/startup/bl_ui/properties_physics_common.py
@@ -39,13 +39,21 @@ def physics_add(self, layout, md, name, type, typeicon, toggles):
row = layout.row(align=True)
if md:
row.context_pointer_set("modifier", md)
- row.operator("object.modifier_remove", text=name, text_ctxt=i18n_contexts.default, icon='X')
+ row.operator(
+ "object.modifier_remove",
+ text=name,
+ text_ctxt=i18n_contexts.default,
+ icon='X',
+ )
if toggles:
row.prop(md, "show_render", text="")
row.prop(md, "show_viewport", text="")
else:
row.operator(
- "object.modifier_add", text=name, text_ctxt=i18n_contexts.default, icon='BLANK1'
+ "object.modifier_add",
+ text=name,
+ text_ctxt=i18n_contexts.default,
+ icon='BLANK1',
).type = type
diff --git a/release/scripts/startup/bl_ui/space_text.py b/release/scripts/startup/bl_ui/space_text.py
index b62e2d740b3..07184c81e42 100644
--- a/release/scripts/startup/bl_ui/space_text.py
+++ b/release/scripts/startup/bl_ui/space_text.py
@@ -95,7 +95,7 @@ class TEXT_HT_footer(Header):
row.label(
text="Text: External"
if text.library
- else "Text: Internal"
+ else "Text: Internal",
)
diff --git a/release/scripts/startup/bl_ui/space_topbar.py b/release/scripts/startup/bl_ui/space_topbar.py
index 2e95ccd6db5..7598c6954d5 100644
--- a/release/scripts/startup/bl_ui/space_topbar.py
+++ b/release/scripts/startup/bl_ui/space_topbar.py
@@ -361,7 +361,7 @@ class _draw_left_context_mode:
sub.active = settings.use_thickness_curve
sub.popover(
panel="TOPBAR_PT_gpencil_primitive",
- text="Thickness Profile"
+ text="Thickness Profile",
)
if brush.gpencil_tool == 'FILL':
@@ -370,7 +370,7 @@ class _draw_left_context_mode:
sub = row.row(align=True)
sub.popover(
panel="TOPBAR_PT_gpencil_fill",
- text="Fill Options"
+ text="Fill Options",
)
@staticmethod
@@ -921,7 +921,7 @@ class TOPBAR_MT_help(Menu):
"wm.url_open", text="Blender Store", icon='URL',
).url = "https://store.blender.org"
layout.operator(
- "wm.url_open", text="Development Fund", icon='URL'
+ "wm.url_open", text="Development Fund", icon='URL',
).url = "https://fund.blender.org"
layout.operator(
"wm.url_open", text="Donate", icon='URL',
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index f2ed7922b4f..950dcc71c41 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -113,7 +113,7 @@ class VIEW3D_HT_header(Header):
sub.active = gpd.use_multiedit
sub.popover(
panel="VIEW3D_PT_gpencil_multi_frame",
- text="Multiframe"
+ text="Multiframe",
)
if gpd.use_stroke_edit_mode:
@@ -122,7 +122,7 @@ class VIEW3D_HT_header(Header):
row.popover(
panel="VIEW3D_PT_tools_grease_pencil_interpolate",
- text="Interpolate"
+ text="Interpolate",
)
VIEW3D_MT_editor_menus.draw_collapsible(context, layout)
@@ -252,7 +252,7 @@ class VIEW3D_HT_header(Header):
sub.active = settings.use_guide
sub.popover(
panel="VIEW3D_PT_gpencil_guide",
- text="Guides"
+ text="Guides",
)
layout.separator_spacer()
@@ -4342,7 +4342,7 @@ class VIEW3D_PT_view3d_lock(Panel):
view, "lock_bone", lock_object.data,
"edit_bones" if lock_object.mode == 'EDIT'
else "bones",
- text=""
+ text="",
)
else:
subcol.prop(view, "lock_cursor", text="Lock to 3D Cursor")
@@ -4671,7 +4671,7 @@ class VIEW3D_PT_shading_options(Panel):
sub.popover(
panel="VIEW3D_PT_shading_options_shadow",
icon='PREFERENCES',
- text=""
+ text="",
)
col = layout.column()
@@ -4691,7 +4691,7 @@ class VIEW3D_PT_shading_options(Panel):
sub.popover(
panel="VIEW3D_PT_shading_options_ssao",
icon='PREFERENCES',
- text=""
+ text="",
)
if shading.cavity_type in {'SCREEN', 'BOTH'}: