made scripts pass the pep8 test (though not fully pep8 yet)
[blender.git] / release / scripts / ui / properties_data_bone.py
index 641fdfa4aaae44ee3ea6ccb2294edf3a2fa02e81..afb73510196a69c8c01b36ecf2575dab0d364064 100644 (file)
@@ -3,9 +3,10 @@
 # http://www.gnu.org/copyleft/gpl.html. Installing, importing or otherwise
 # using this module constitutes acceptance of the terms of this License.
 
-
+# <pep8 compliant>
 import bpy
 
+
 class BoneButtonsPanel(bpy.types.Panel):
     bl_space_type = 'PROPERTIES'
     bl_region_type = 'WINDOW'
@@ -14,6 +15,7 @@ class BoneButtonsPanel(bpy.types.Panel):
     def poll(self, context):
         return (context.bone or context.edit_bone)
 
+
 class BONE_PT_context_bone(BoneButtonsPanel):
     bl_label = ""
     bl_show_header = False
@@ -29,6 +31,7 @@ class BONE_PT_context_bone(BoneButtonsPanel):
         row.itemL(text="", icon='ICON_BONE_DATA')
         row.itemR(bone, "name", text="")
 
+
 class BONE_PT_transform(BoneButtonsPanel):
     bl_label = "Transform"
 
@@ -74,6 +77,7 @@ class BONE_PT_transform(BoneButtonsPanel):
 
             layout.itemR(pchan, "rotation_mode")
 
+
 class BONE_PT_transform_locks(BoneButtonsPanel):
     bl_label = "Transform Locks"
     bl_default_closed = True
@@ -104,6 +108,7 @@ class BONE_PT_transform_locks(BoneButtonsPanel):
 
         row.column().itemR(pchan, "lock_scale")
 
+
 class BONE_PT_relations(BoneButtonsPanel):
     bl_label = "Relations"
 
@@ -145,6 +150,7 @@ class BONE_PT_relations(BoneButtonsPanel):
         sub.itemR(bone, "hinge", text="Inherit Rotation")
         sub.itemR(bone, "inherit_scale", text="Inherit Scale")
 
+
 class BONE_PT_display(BoneButtonsPanel):
     bl_label = "Display"
 
@@ -178,6 +184,7 @@ class BONE_PT_display(BoneButtonsPanel):
             col.itemL(text="Custom Shape:")
             col.itemR(pchan, "custom_shape", text="")
 
+
 class BONE_PT_deform(BoneButtonsPanel):
     bl_label = "Deform"
     bl_default_closed = True