[Bf-extensions-cvs] [9ca218bf] master: Cleanup: pep8

Campbell Barton noreply at git.blender.org
Sat Jul 14 08:51:04 CEST 2018


Commit: 9ca218bf4252869dda11b44029cdebfcbff9aad1
Author: Campbell Barton
Date:   Sat Jul 14 08:50:51 2018 +0200
Branches: master
https://developer.blender.org/rBA9ca218bf4252869dda11b44029cdebfcbff9aad1

Cleanup: pep8

===================================================================

M	space_view3d_math_vis/__init__.py

===================================================================

diff --git a/space_view3d_math_vis/__init__.py b/space_view3d_math_vis/__init__.py
index 2683c754..50d399f2 100644
--- a/space_view3d_math_vis/__init__.py
+++ b/space_view3d_math_vis/__init__.py
@@ -42,20 +42,20 @@ else:
 
 import bpy
 from bpy.types import (
-        Operator,
-        Panel,
-        PropertyGroup,
-        UIList,
-        )
+    Operator,
+    Panel,
+    PropertyGroup,
+    UIList,
+)
 from bpy.props import (
-        StringProperty,
-        BoolProperty,
-        BoolVectorProperty,
-        FloatProperty,
-        IntProperty,
-        PointerProperty,
-        CollectionProperty,
-        )
+    StringProperty,
+    BoolProperty,
+    BoolVectorProperty,
+    FloatProperty,
+    IntProperty,
+    PointerProperty,
+    CollectionProperty,
+)
 
 
 class PanelConsoleVars(Panel):
@@ -77,14 +77,14 @@ class PanelConsoleVars(Panel):
             col.label("No vars to display")
         else:
             layout.template_list(
-                    'MathVisVarList',
-                    'MathVisStatePropList',
-                    bpy.context.window_manager,
-                    'MathVisStatePropList',
-                    bpy.context.window_manager.MathVisProp,
-                    'index',
-                    rows=10
-                    )
+                'MathVisVarList',
+                'MathVisStatePropList',
+                bpy.context.window_manager,
+                'MathVisStatePropList',
+                bpy.context.window_manager.MathVisProp,
+                'index',
+                rows=10
+            )
         col = layout.column()
         col.prop(bpy.context.window_manager.MathVisProp, "name_hide")
         col.prop(bpy.context.window_manager.MathVisProp, "bbox_hide")
@@ -220,26 +220,26 @@ class MathVisVarList(UIList):
 class MathVis(PropertyGroup):
 
     index = IntProperty(
-            name="index"
-            )
+        name="index"
+    )
     bbox_hide = BoolProperty(
-            name="Hide BBoxes",
-            default=False,
-            description="Hide the bounding boxes rendered for Matrix like items",
-            update=call_console_hook
-            )
+        name="Hide BBoxes",
+        default=False,
+        description="Hide the bounding boxes rendered for Matrix like items",
+        update=call_console_hook
+    )
     name_hide = BoolProperty(
-            name="Hide Names",
-            default=False,
-            description="Hide the names of the rendered items",
-            update=call_console_hook
-            )
+        name="Hide Names",
+        default=False,
+        description="Hide the names of the rendered items",
+        update=call_console_hook
+    )
     bbox_scale = FloatProperty(
-            name="Scale factor",
-            min=0, default=1,
-            description="Resize the Bounding Box and the coordinate "
-                        "lines for the display of Matrix items"
-            )
+        name="Scale factor",
+        min=0, default=1,
+        description="Resize the Bounding Box and the coordinate "
+        "lines for the display of Matrix items"
+    )
 
 
 classes = (



More information about the Bf-extensions-cvs mailing list