Skip to content
Snippets Groups Projects
Commit 06adfcaf authored by Campbell Barton's avatar Campbell Barton
Browse files

Cleanup: unused imports

parent 4e8b24f1
No related branches found
No related tags found
No related merge requests found
...@@ -10,9 +10,6 @@ import os ...@@ -10,9 +10,6 @@ import os
from typing import ( from typing import (
Any, Any,
Callable,
List,
Tuple,
) )
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
import argparse import argparse
import make_utils import make_utils
import os import os
import re
import subprocess import subprocess
import sys import sys
from pathlib import Path from pathlib import Path
......
...@@ -97,11 +97,10 @@ from _freestyle import ( ...@@ -97,11 +97,10 @@ from _freestyle import (
import time import time
import bpy import bpy
import random
from mathutils import Vector from mathutils import Vector
from math import pi, sin, cos, acos, radians, atan2 from math import pi, sin, cos, acos, radians
from itertools import cycle, tee from itertools import cycle
# WARNING: highly experimental, not a stable API # WARNING: highly experimental, not a stable API
# lists of callback functions # lists of callback functions
......
...@@ -5,9 +5,6 @@ ...@@ -5,9 +5,6 @@
# Update "languages" text file used by Blender at runtime to build translations menu. # Update "languages" text file used by Blender at runtime to build translations menu.
import os
OK = 0 OK = 0
MISSING = 1 MISSING = 1
TOOLOW = 2 TOOLOW = 2
......
...@@ -53,7 +53,6 @@ class TestBlendFileOpenAllTestFiles(TestHelper): ...@@ -53,7 +53,6 @@ class TestBlendFileOpenAllTestFiles(TestHelper):
yield dir_entry.path yield dir_entry.path
def test_open(self): def test_open(self):
import subprocess
blendfile_paths = [p for p in self.iter_blendfiles_from_directory(self.args.src_test_dir)] blendfile_paths = [p for p in self.iter_blendfiles_from_directory(self.args.src_test_dir)]
# `os.scandir()` used by `iter_blendfiles_from_directory` does not # `os.scandir()` used by `iter_blendfiles_from_directory` does not
# guarantee any form of order. # guarantee any form of order.
......
...@@ -6,8 +6,6 @@ import pathlib ...@@ -6,8 +6,6 @@ import pathlib
import sys import sys
import unittest import unittest
import tempfile import tempfile
import math
from dataclasses import dataclass
import bpy import bpy
......
...@@ -5,9 +5,6 @@ ...@@ -5,9 +5,6 @@
# Usage: ./check_release.py -- ../path/to/release/folder # Usage: ./check_release.py -- ../path/to/release/folder
import os
import sys
import unittest import unittest
import check_module_enabled import check_module_enabled
......
...@@ -16,13 +16,11 @@ check_docs_code_layout.py --markdown=markdown.txt ...@@ -16,13 +16,11 @@ check_docs_code_layout.py --markdown=markdown.txt
""" """
import os import os
import re
import argparse import argparse
from typing import ( from typing import (
List, List,
Optional, Optional,
Tuple,
) )
......
...@@ -308,7 +308,6 @@ class Comment: ...@@ -308,7 +308,6 @@ class Comment:
def extract_code_strings(filepath: str) -> Tuple[List[Comment], Set[str]]: def extract_code_strings(filepath: str) -> Tuple[List[Comment], Set[str]]:
import pygments
from pygments import lexers from pygments import lexers
from pygments.token import Token from pygments.token import Token
......
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
# * 403 Client Error: That means the token doesn't have the right scope. # * 403 Client Error: That means the token doesn't have the right scope.
# * 500 Server Error: The token is invalid. # * 500 Server Error: The token is invalid.
import csv
import logging import logging
import os import os
import requests import requests
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment