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 <campbell@blender.org>2022-04-19 08:05:55 +0300
committerCampbell Barton <campbell@blender.org>2022-04-19 08:07:04 +0300
commit58d86527ae283b94ba18f54b1fcef1cb8063c910 (patch)
tree7271a529d4df4ddbcc5172f423f3226e57658a60 /release/scripts/startup/bl_operators
parent8c25889bb67db4c1d2f94bf85ca6d1c2a050fcfe (diff)
Cleanup: run autopep8 on release/scripts/startup/
Diffstat (limited to 'release/scripts/startup/bl_operators')
-rw-r--r--release/scripts/startup/bl_operators/constraint.py4
-rw-r--r--release/scripts/startup/bl_operators/file.py2
-rw-r--r--release/scripts/startup/bl_operators/geometry_nodes.py1
-rw-r--r--release/scripts/startup/bl_operators/object.py2
-rw-r--r--release/scripts/startup/bl_operators/wm.py8
5 files changed, 8 insertions, 9 deletions
diff --git a/release/scripts/startup/bl_operators/constraint.py b/release/scripts/startup/bl_operators/constraint.py
index a05936c875c..444452ad2c5 100644
--- a/release/scripts/startup/bl_operators/constraint.py
+++ b/release/scripts/startup/bl_operators/constraint.py
@@ -70,8 +70,8 @@ class CONSTRAINT_OT_normalize_target_weights(Operator):
class CONSTRAINT_OT_disable_keep_transform(Operator):
"""Set the influence of this constraint to zero while """ \
- """trying to maintain the object's transformation. Other active """ \
- """constraints can still influence the final transformation"""
+ """trying to maintain the object's transformation. Other active """ \
+ """constraints can still influence the final transformation"""
bl_idname = "constraint.disable_keep_transform"
bl_label = "Disable and Keep Transform"
diff --git a/release/scripts/startup/bl_operators/file.py b/release/scripts/startup/bl_operators/file.py
index cfe03b4760c..0fafb09f672 100644
--- a/release/scripts/startup/bl_operators/file.py
+++ b/release/scripts/startup/bl_operators/file.py
@@ -247,7 +247,7 @@ class WM_OT_previews_batch_clear(Operator):
class WM_OT_blend_strings_utf8_validate(Operator):
"""Check and fix all strings in current .blend file to be valid UTF-8 Unicode """ \
- """(needed for some old, 2.4x area files)"""
+ """(needed for some old, 2.4x area files)"""
bl_idname = "wm.blend_strings_utf8_validate"
bl_label = "Validate .blend strings"
bl_options = {'REGISTER'}
diff --git a/release/scripts/startup/bl_operators/geometry_nodes.py b/release/scripts/startup/bl_operators/geometry_nodes.py
index f435efc76fc..ea4d40bb778 100644
--- a/release/scripts/startup/bl_operators/geometry_nodes.py
+++ b/release/scripts/startup/bl_operators/geometry_nodes.py
@@ -26,7 +26,6 @@ def geometry_node_group_empty_new():
def geometry_modifier_poll(context):
ob = context.object
-
# Test object support for geometry node modifier
if not ob or ob.type not in {'MESH', 'POINTCLOUD', 'VOLUME', 'CURVE', 'FONT', 'CURVES'}:
return False
diff --git a/release/scripts/startup/bl_operators/object.py b/release/scripts/startup/bl_operators/object.py
index f5ea2d0f85b..6857670c31d 100644
--- a/release/scripts/startup/bl_operators/object.py
+++ b/release/scripts/startup/bl_operators/object.py
@@ -937,7 +937,7 @@ class LoadReferenceImage(LoadImageAsEmpty, Operator):
class OBJECT_OT_assign_property_defaults(Operator):
"""Assign the current values of custom properties as their defaults, """ \
- """for use as part of the rest pose state in NLA track mixing"""
+ """for use as part of the rest pose state in NLA track mixing"""
bl_idname = "object.assign_property_defaults"
bl_label = "Assign Custom Property Values as Default"
bl_options = {'UNDO', 'REGISTER'}
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py
index d6e5604fde0..0f063da40fb 100644
--- a/release/scripts/startup/bl_operators/wm.py
+++ b/release/scripts/startup/bl_operators/wm.py
@@ -1317,7 +1317,7 @@ class WM_OT_properties_edit(Operator):
name="Array Length",
default=3,
min=1,
- max=32, # 32 is the maximum size for RNA array properties.
+ max=32, # 32 is the maximum size for RNA array properties.
)
# Integer properties.
@@ -1511,7 +1511,7 @@ class WM_OT_properties_edit(Operator):
elif self.property_type == 'STRING':
self.default_string = rna_data["default"]
- if self.property_type in { 'FLOAT_ARRAY', 'INT_ARRAY'}:
+ if self.property_type in {'FLOAT_ARRAY', 'INT_ARRAY'}:
self.array_length = len(item[name])
# The dictionary does not contain the description if it was empty.
@@ -2940,9 +2940,9 @@ class WM_MT_splash_quick_setup(Menu):
layout.label(text="Quick Setup")
- split = layout.split(factor=0.14) # Left margin.
+ split = layout.split(factor=0.14) # Left margin.
split.label()
- split = split.split(factor=0.73) # Content width.
+ split = split.split(factor=0.73) # Content width.
col = split.column()