Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdoc/blender_file_format/BlendFileDnaExporter_25.py1
-rw-r--r--doc/python_api/examples/blf.py1
-rw-r--r--doc/python_api/examples/bpy.types.Object.py1
-rw-r--r--release/scripts/modules/bpy_extras/object_utils.py1
-rw-r--r--release/scripts/modules/gpu_extras/batch.py1
-rw-r--r--release/scripts/startup/bl_operators/presets.py11
-rwxr-xr-xtests/python/opengl_draw_tests.py2
7 files changed, 9 insertions, 9 deletions
diff --git a/doc/blender_file_format/BlendFileDnaExporter_25.py b/doc/blender_file_format/BlendFileDnaExporter_25.py
index 54a3bd56eef..21260ea7ebc 100755
--- a/doc/blender_file_format/BlendFileDnaExporter_25.py
+++ b/doc/blender_file_format/BlendFileDnaExporter_25.py
@@ -57,7 +57,6 @@
import struct
import sys
-import getopt # command line arguments handling
from string import Template # strings completion
diff --git a/doc/python_api/examples/blf.py b/doc/python_api/examples/blf.py
index 5e1a2ef64a7..094fd9ddc0f 100644
--- a/doc/python_api/examples/blf.py
+++ b/doc/python_api/examples/blf.py
@@ -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
diff --git a/doc/python_api/examples/bpy.types.Object.py b/doc/python_api/examples/bpy.types.Object.py
index 743322492b4..405b434381b 100644
--- a/doc/python_api/examples/bpy.types.Object.py
+++ b/doc/python_api/examples/bpy.types.Object.py
@@ -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
diff --git a/release/scripts/modules/bpy_extras/object_utils.py b/release/scripts/modules/bpy_extras/object_utils.py
index 10132366981..d08b98772f5 100644
--- a/release/scripts/modules/bpy_extras/object_utils.py
+++ b/release/scripts/modules/bpy_extras/object_utils.py
@@ -33,7 +33,6 @@ import bpy
from bpy.props import (
BoolProperty,
- BoolVectorProperty,
FloatVectorProperty,
)
diff --git a/release/scripts/modules/gpu_extras/batch.py b/release/scripts/modules/gpu_extras/batch.py
index 2a1a4dc723c..64d731e318a 100644
--- a/release/scripts/modules/gpu_extras/batch.py
+++ b/release/scripts/modules/gpu_extras/batch.py
@@ -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,
diff --git a/release/scripts/startup/bl_operators/presets.py b/release/scripts/startup/bl_operators/presets.py
index 098f5b02c8a..baacb0c051e 100644
--- a/release/scripts/startup/bl_operators/presets.py
+++ b/release/scripts/startup/bl_operators/presets.py
@@ -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(
diff --git a/tests/python/opengl_draw_tests.py b/tests/python/opengl_draw_tests.py
index b6c18e289bc..9913f875689 100755
--- a/tests/python/opengl_draw_tests.py
+++ b/tests/python/opengl_draw_tests.py
@@ -3,8 +3,6 @@
import argparse
import os
-import shlex
-import shutil
import subprocess
import sys