Cleanup: unused imports
This commit is contained in:
parent
4e8b24f1d1
commit
06adfcaf38
@ -10,9 +10,6 @@ import os
|
||||
|
||||
from typing import (
|
||||
Any,
|
||||
Callable,
|
||||
List,
|
||||
Tuple,
|
||||
)
|
||||
|
||||
|
||||
|
@ -6,7 +6,6 @@
|
||||
import argparse
|
||||
import make_utils
|
||||
import os
|
||||
import re
|
||||
import subprocess
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
@ -97,11 +97,10 @@ from _freestyle import (
|
||||
|
||||
import time
|
||||
import bpy
|
||||
import random
|
||||
|
||||
from mathutils import Vector
|
||||
from math import pi, sin, cos, acos, radians, atan2
|
||||
from itertools import cycle, tee
|
||||
from math import pi, sin, cos, acos, radians
|
||||
from itertools import cycle
|
||||
|
||||
# WARNING: highly experimental, not a stable API
|
||||
# lists of callback functions
|
||||
|
@ -5,9 +5,6 @@
|
||||
# Update "languages" text file used by Blender at runtime to build translations menu.
|
||||
|
||||
|
||||
import os
|
||||
|
||||
|
||||
OK = 0
|
||||
MISSING = 1
|
||||
TOOLOW = 2
|
||||
|
@ -53,7 +53,6 @@ class TestBlendFileOpenAllTestFiles(TestHelper):
|
||||
yield dir_entry.path
|
||||
|
||||
def test_open(self):
|
||||
import subprocess
|
||||
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
|
||||
# guarantee any form of order.
|
||||
|
@ -6,8 +6,6 @@ import pathlib
|
||||
import sys
|
||||
import unittest
|
||||
import tempfile
|
||||
import math
|
||||
from dataclasses import dataclass
|
||||
|
||||
import bpy
|
||||
|
||||
|
@ -5,9 +5,6 @@
|
||||
|
||||
# Usage: ./check_release.py -- ../path/to/release/folder
|
||||
|
||||
|
||||
import os
|
||||
import sys
|
||||
import unittest
|
||||
|
||||
import check_module_enabled
|
||||
|
@ -16,13 +16,11 @@ check_docs_code_layout.py --markdown=markdown.txt
|
||||
"""
|
||||
|
||||
import os
|
||||
import re
|
||||
import argparse
|
||||
|
||||
from typing import (
|
||||
List,
|
||||
Optional,
|
||||
Tuple,
|
||||
)
|
||||
|
||||
|
||||
|
@ -308,7 +308,6 @@ class Comment:
|
||||
|
||||
|
||||
def extract_code_strings(filepath: str) -> Tuple[List[Comment], Set[str]]:
|
||||
import pygments
|
||||
from pygments import lexers
|
||||
from pygments.token import Token
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
# * 403 Client Error: That means the token doesn't have the right scope.
|
||||
# * 500 Server Error: The token is invalid.
|
||||
|
||||
import csv
|
||||
import logging
|
||||
import os
|
||||
import requests
|
||||
|
Loading…
Reference in New Issue
Block a user