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 struct
import sys import sys
import getopt # command line arguments handling
from string import Template # strings completion 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. need to use the OpenGL wrapper :class:`~bgl` as well.
""" """
# import stand alone modules # import stand alone modules
import bgl
import blf import blf
import bpy import bpy

View File

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

View File

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

View File

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

View File

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

View File

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