[Bf-extensions-cvs] [73bf474] master: Cleanup: imports (formatting)

Campbell Barton noreply at git.blender.org
Fri Apr 10 03:44:20 CEST 2015


Commit: 73bf474a6df0d2ad6524da9449b01a02620b669f
Author: Campbell Barton
Date:   Fri Apr 10 11:43:35 2015 +1000
Branches: master
https://developer.blender.org/rBA73bf474a6df0d2ad6524da9449b01a02620b669f

Cleanup: imports (formatting)

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

M	io_anim_acclaim/__init__.py
M	io_anim_bvh/__init__.py
M	io_anim_c3d/__init__.py
M	io_anim_nuke_chan/__init__.py
M	io_import_images_as_planes.py
M	io_mesh_pdb/__init__.py
M	io_mesh_ply/__init__.py
M	io_mesh_uv_layout/__init__.py
M	io_online_sketchfab/__init__.py
M	io_scene_3ds/__init__.py
M	io_scene_fbx/__init__.py
M	io_scene_ms3d/ms3d_ui.py
M	io_scene_obj/__init__.py
M	io_scene_vrml2/__init__.py
M	io_scene_x3d/__init__.py
M	mesh_inset/__init__.py
M	mocap/__init__.py
M	object_fracture_cell/__init__.py
M	object_print3d_utils/__init__.py
M	object_print3d_utils/operators.py
M	render_copy_settings/__init__.py
M	render_povray/__init__.py
M	render_povray/update_files.py
M	system_demo_mode/__init__.py
M	ui_translate/__init__.py
M	ui_translate/edit_translation.py
M	ui_translate/settings.py
M	ui_translate/update_addon.py
M	ui_translate/update_svn.py
M	ui_translate/update_ui.py
M	uv_texture_atlas.py

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

diff --git a/io_anim_acclaim/__init__.py b/io_anim_acclaim/__init__.py
index 6bc2e72..620c1fc 100644
--- a/io_anim_acclaim/__init__.py
+++ b/io_anim_acclaim/__init__.py
@@ -39,11 +39,12 @@ import re
 import bpy
 from mathutils import Vector, Matrix
 from math import radians, degrees
-from bpy.props import (StringProperty,
-                       BoolProperty,
-                       FloatProperty,
-                       IntProperty,
-                       )
+from bpy.props import (
+        StringProperty,
+        BoolProperty,
+        FloatProperty,
+        IntProperty,
+        )
 
 
 class DataStructure:
diff --git a/io_anim_bvh/__init__.py b/io_anim_bvh/__init__.py
index f845bcf..57f879c 100644
--- a/io_anim_bvh/__init__.py
+++ b/io_anim_bvh/__init__.py
@@ -38,17 +38,19 @@ if "bpy" in locals():
         importlib.reload(export_bvh)
 
 import bpy
-from bpy.props import (StringProperty,
-                       FloatProperty,
-                       IntProperty,
-                       BoolProperty,
-                       EnumProperty,
-                       )
-from bpy_extras.io_utils import (ImportHelper,
-                                 ExportHelper,
-                                 orientation_helper_factory,
-                                 axis_conversion,
-                                 )
+from bpy.props import (
+        StringProperty,
+        FloatProperty,
+        IntProperty,
+        BoolProperty,
+        EnumProperty,
+        )
+from bpy_extras.io_utils import (
+        ImportHelper,
+        ExportHelper,
+        orientation_helper_factory,
+        axis_conversion,
+        )
 
 
 ImportBVHOrientationHelper = orientation_helper_factory("ImportBVHOrientationHelper", axis_forward='-Z', axis_up='Y')
diff --git a/io_anim_c3d/__init__.py b/io_anim_c3d/__init__.py
index 0f501ad..66d1419 100644
--- a/io_anim_c3d/__init__.py
+++ b/io_anim_c3d/__init__.py
@@ -36,11 +36,12 @@ bl_info = {
 
 
 import bpy
-from bpy.props import (StringProperty,
-                       BoolProperty,
-                       FloatProperty,
-                       IntProperty,
-                       )
+from bpy.props import (
+        StringProperty,
+        BoolProperty,
+        FloatProperty,
+        IntProperty,
+        )
 
 import math
 import time
diff --git a/io_anim_nuke_chan/__init__.py b/io_anim_nuke_chan/__init__.py
index 16c9278..b310232 100644
--- a/io_anim_nuke_chan/__init__.py
+++ b/io_anim_nuke_chan/__init__.py
@@ -45,10 +45,12 @@ if "bpy" in locals():
 import bpy
 from bpy.types import Operator
 from bpy_extras.io_utils import ImportHelper, ExportHelper
-from bpy.props import (StringProperty,
-                       BoolProperty,
-                       EnumProperty,
-                       FloatProperty)
+from bpy.props import (
+        StringProperty,
+        BoolProperty,
+        EnumProperty,
+        FloatProperty,
+        )
 
 # property shared by both operators
 rotation_order = EnumProperty(
diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py
index 4940ebc..8b5ea33 100644
--- a/io_import_images_as_planes.py
+++ b/io_import_images_as_planes.py
@@ -36,13 +36,14 @@ import mathutils
 import os
 import collections
 
-from bpy.props import (StringProperty,
-                       BoolProperty,
-                       EnumProperty,
-                       IntProperty,
-                       FloatProperty,
-                       CollectionProperty,
-                       )
+from bpy.props import (
+        StringProperty,
+        BoolProperty,
+        EnumProperty,
+        IntProperty,
+        FloatProperty,
+        CollectionProperty,
+        )
 
 from bpy_extras.object_utils import AddObjectHelper, object_data_add
 from bpy_extras.image_utils import load_image
diff --git a/io_mesh_pdb/__init__.py b/io_mesh_pdb/__init__.py
index 9d9b83d..dcf9ec4 100644
--- a/io_mesh_pdb/__init__.py
+++ b/io_mesh_pdb/__init__.py
@@ -51,14 +51,18 @@ bl_info = {
 import bpy
 from bpy.types import Operator
 from bpy_extras.io_utils import ImportHelper, ExportHelper
-from bpy.props import (StringProperty,
-                       BoolProperty,
-                       EnumProperty,
-                       IntProperty,
-                       FloatProperty)
+from bpy.props import (
+        StringProperty,
+        BoolProperty,
+        EnumProperty,
+        IntProperty,
+        FloatProperty,
+        )
 
-from . import import_pdb
-from . import export_pdb
+from . import (
+        import_pdb,
+        export_pdb,
+        )
 
 # -----------------------------------------------------------------------------
 #                                                                           GUI
diff --git a/io_mesh_ply/__init__.py b/io_mesh_ply/__init__.py
index 6cf4083..cceb418 100644
--- a/io_mesh_ply/__init__.py
+++ b/io_mesh_ply/__init__.py
@@ -45,17 +45,19 @@ if "bpy" in locals():
 
 import os
 import bpy
-from bpy.props import (CollectionProperty,
-                       StringProperty,
-                       BoolProperty,
-                       EnumProperty,
-                       FloatProperty,
-                       )
-from bpy_extras.io_utils import (ImportHelper,
-                                 ExportHelper,
-                                 orientation_helper_factory,
-                                 axis_conversion,
-                                 )
+from bpy.props import (
+        CollectionProperty,
+        StringProperty,
+        BoolProperty,
+        EnumProperty,
+        FloatProperty,
+        )
+from bpy_extras.io_utils import (
+        ImportHelper,
+        ExportHelper,
+        orientation_helper_factory,
+        axis_conversion,
+        )
 
 
 IOPLYOrientationHelper = orientation_helper_factory("IOPLYOrientationHelper", axis_forward='Y', axis_up='Z')
diff --git a/io_mesh_uv_layout/__init__.py b/io_mesh_uv_layout/__init__.py
index accf675..d8d08cd 100644
--- a/io_mesh_uv_layout/__init__.py
+++ b/io_mesh_uv_layout/__init__.py
@@ -46,12 +46,13 @@ if "bpy" in locals():
 
 import bpy
 
-from bpy.props import (StringProperty,
-                       BoolProperty,
-                       EnumProperty,
-                       IntVectorProperty,
-                       FloatProperty,
-                       )
+from bpy.props import (
+        StringProperty,
+        BoolProperty,
+        EnumProperty,
+        IntVectorProperty,
+        FloatProperty,
+        )
 
 
 class ExportUVLayout(bpy.types.Operator):
diff --git a/io_online_sketchfab/__init__.py b/io_online_sketchfab/__init__.py
index ef8e39b..f07702f 100644
--- a/io_online_sketchfab/__init__.py
+++ b/io_online_sketchfab/__init__.py
@@ -35,11 +35,12 @@ import threading
 import subprocess
 
 from bpy.app.handlers import persistent
-from bpy.props import (StringProperty,
-                       EnumProperty,
-                       BoolProperty,
-                       PointerProperty,
-                       )
+from bpy.props import (
+        StringProperty,
+        EnumProperty,
+        BoolProperty,
+        PointerProperty,
+        )
 
 SKETCHFAB_API_URL = "https://api.sketchfab.com"
 SKETCHFAB_API_MODELS_URL = SKETCHFAB_API_URL + "/v1/models"
diff --git a/io_scene_3ds/__init__.py b/io_scene_3ds/__init__.py
index 208c13b..4436141 100644
--- a/io_scene_3ds/__init__.py
+++ b/io_scene_3ds/__init__.py
@@ -40,13 +40,18 @@ if "bpy" in locals():
 
 
 import bpy
-from bpy.props import StringProperty, FloatProperty, BoolProperty, EnumProperty
-
-from bpy_extras.io_utils import (ImportHelper,
-                                 ExportHelper,
-                                 orientation_helper_factory,
-                                 axis_conversion,
-                                 )
+from bpy.props import (
+        BoolProperty,
+        EnumProperty,
+        FloatProperty,
+        StringProperty,
+        )
+from bpy_extras.io_utils import (
+        ImportHelper,
+        ExportHelper,
+        orientation_helper_factory,
+        axis_conversion,
+        )
 
 
 IO3DSOrientationHelper = orientation_helper_factory("IO3DSOrientationHelper", axis_forward='Y', axis_up='Z')
diff --git a/io_scene_fbx/__init__.py b/io_scene_fbx/__init__.py
index 1cf2e5b..96c5adf 100644
--- a/io_scene_fbx/__init__.py
+++ b/io_scene_fbx/__init__.py
@@ -45,18 +45,19 @@ if "bpy" in locals():
 
 
 import bpy
-from bpy.props import (StringProperty,
-                       BoolProperty,
-                       FloatProperty,
-                       EnumProperty,
-                       )
-
-from bpy_extras.io_utils import (ImportHelper,
-                                 ExportHelper,
-                                 orientation_helper_factory,
-                                 path_reference_mode,
-                                 axis_conversion,
-                                 )
+from bpy.props import (
+        StringProperty,
+        BoolProperty,
+        FloatProperty,
+        EnumProperty,
+        )
+from bpy_extras.io_utils import (
+        ImportHelper,
+        ExportHelper,
+        orientation_helper_factory,
+        path_reference_mode,
+        axis_conversion,
+        )
 
 
 IOFBXOrientationHelper = orientation_helper_factory("IOFBXOrientationHelper", axis_forward='-Z', axis_up='Y')
diff --git a/io_scene_ms3d/ms3d_ui.py b/io_scene_ms3d/ms3d_ui.py
index f4fb62e..134447d 100644
--- a/io_scene_ms3d/ms3d_ui.py
+++ b/io_scene_ms3d/ms3d_ui.py
@@ -392,7 +392,9 @@ class Ms3dImportOperator(Operator, ImportHelper):
     # entrypoint for MS3D -> blender
     def execute(self, blender_context):
         """ start executing """
-        from io_scene_ms3d.ms3d_import import (Ms3dImporter, )
+        from io_scene_ms3d.ms3d_import import (
+                Ms3dImporter,
+                )
         finished = Ms3dImporter(
                 report=self.report,
                 verbose=self.verbose,
@@ -596,7 +598,9 @@ class Ms3dExportOperator(Operator, ExportHelper):
     # entrypoint for blender -> MS3D
     def execute(self, blender_context):
         """start executing"""
-        from io_scene_ms3d.ms3d_export import (Ms3dExporter, )
+        from io_scene_ms3d.ms3d_export import (
+                Ms3dExporter,
+                )
     

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-extensions-cvs mailing list