Cleanup: pep8
authorCampbell Barton <ideasman42@gmail.com>
Tue, 3 Jul 2018 05:13:27 +0000 (07:13 +0200)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 3 Jul 2018 05:13:27 +0000 (07:13 +0200)
release/scripts/modules/bpy_extras/node_utils.py
release/scripts/modules/bpy_extras/object_utils.py
release/scripts/modules/bpy_types.py
release/scripts/startup/bl_ui/space_dopesheet.py
release/scripts/startup/bl_ui/space_outliner.py
source/blender/datatoc/datatoc_icon_split.py

index 9a2be5b9f6814bf89bc5b841e259b41c5a1407a3..d459b99ddd052c0e34f2b8ac6edb77943acf39b3 100644 (file)
@@ -21,7 +21,7 @@
 __all__ = (
     "find_node_input",
     "find_output_node",
-    )
+)
 
 
 # XXX Names are not unique. Returns the first match.
@@ -34,6 +34,8 @@ def find_node_input(node, name):
 
 # Return the output node to display in the UI. In case multiple node types are
 # specified, node types earlier in the list get priority.
+
+
 def find_output_node(ntree, nodetypes):
     if ntree:
         output_node = None
index 8eec912da93a511e4bb0a9cdb2d45b80a8067587..fcecb4cdd61ac0fa40f07d17099e7d3a601b2ea2 100644 (file)
@@ -195,18 +195,18 @@ class AddObjectHelper:
             self.rotation.zero()
 
     view_align = BoolProperty(
-            name="Align to View",
-            default=False,
-            update=view_align_update_callback,
-            )
+        name="Align to View",
+        default=False,
+        update=view_align_update_callback,
+    )
     location = FloatVectorProperty(
-            name="Location",
-            subtype='TRANSLATION',
-            )
+        name="Location",
+        subtype='TRANSLATION',
+    )
     rotation = FloatVectorProperty(
-            name="Rotation",
-            subtype='EULER',
-            )
+        name="Rotation",
+        subtype='EULER',
+    )
 
     @classmethod
     def poll(self, context):
index ee49e8a6630127117b01fd20cef859dde98e5cdc..4cc792c7cb35f0a511774e24bfb1960462a18618 100644 (file)
@@ -942,7 +942,6 @@ class Menu(StructRNA, _GenericUI, metaclass=RNAMeta):
             props = row.operator(add_operator, text="", icon='ZOOMIN')
             props.name = wm.preset_name
 
-
     def draw_preset(self, context):
         """
         Define these on the subclass:
index e03d53a1870f3d57ebf628d8701b2c8e4748ab6b..aeda521ba04d540851ca803968e01726e4ca5c71 100644 (file)
@@ -280,7 +280,6 @@ class DOPESHEET_HT_editor_buttons(Header):
         sub.active = toolsettings.use_proportional_action
         sub.prop(toolsettings, "proportional_edit_falloff", text="", icon_only=True)
 
-
         row = layout.row(align=True)
         row.operator("action.copy", text="", icon='COPYDOWN')
         row.operator("action.paste", text="", icon='PASTEDOWN')
index 19f3bcd3b1fbeb857d983935e0a37825d30551bf..f19b0304afac73b600b09187eb56332704f25038 100644 (file)
@@ -134,7 +134,6 @@ class OUTLINER_MT_edit_datablocks(Menu):
         layout.operator("outliner.drivers_delete_selected")
 
 
-
 class OUTLINER_MT_collection_view_layer(Menu):
     bl_label = "View Layer"
 
index faf8d57be77b8002a84f4cf1da7089acfa08e429..e7cc3a71446dadabad4e660d855f996cefd3c219 100755 (executable)
@@ -101,7 +101,7 @@ def write_subimage(sub_x, sub_y, sub_w, sub_h,
                 sub_w, sub_h,
                 sub_x, sub_y,
                 # redundant but including to maintain consistency
-                            pixel_w, pixel_h,
+                pixel_w, pixel_h,
             ))
 
         for y in range(sub_h):