Cleanup: unused imports

This commit is contained in:
Campbell Barton 2019-03-17 20:57:47 +11:00
parent a19e78aa2d
commit ad9addbf46
7 changed files with 9 additions and 9 deletions

View File

@ -57,7 +57,6 @@
import struct
import sys
import getopt # command line arguments handling
from string import Template # strings completion

View File

@ -6,7 +6,6 @@ Example of using the blf module. For this module to work we
need to use the OpenGL wrapper :class:`~bgl` as well.
"""
# import stand alone modules
import bgl
import blf
import bpy

View File

@ -7,7 +7,6 @@ object, placing it into a view layer, selecting it and making it active.
"""
import bpy
from mathutils import Matrix
view_layer = bpy.context.view_layer

View File

@ -33,7 +33,6 @@ import bpy
from bpy.props import (
BoolProperty,
BoolVectorProperty,
FloatVectorProperty,
)

View File

@ -34,7 +34,6 @@ def batch_for_shader(shader, type, content, indices=None):
:return: compatible batch
:rtype: :class:`gpu.types.Batch`
"""
import gpu
from gpu.types import (
GPUBatch,
GPUIndexBuf,

View File

@ -19,8 +19,15 @@
# <pep8 compliant>
import bpy
from bpy.types import Menu, Operator, Panel, WindowManager
from bpy.props import StringProperty, BoolProperty
from bpy.types import (
Menu,
Operator,
WindowManager,
)
from bpy.props import (
BoolProperty,
StringProperty,
)
# For preset popover menu
WindowManager.preset_name = StringProperty(

View File

@ -3,8 +3,6 @@
import argparse
import os
import shlex
import shutil
import subprocess
import sys