Sort out imports

This commit is contained in:
Andrej730
2026-03-04 15:41:39 +05:00
parent 951ade4b57
commit 619848823c
11 changed files with 20 additions and 22 deletions
+2 -2
View File
@@ -16,6 +16,8 @@
# You should have received a copy of the GNU General Public License
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
import tempfile
from pathlib import Path
from typing import TYPE_CHECKING
import bpy
@@ -24,10 +26,8 @@ import pytest
import bonsai.core.tool
import bonsai.tool as tool
import tempfile
from bonsai.tool.blender import Blender as subject
from test.bim.bootstrap import NewFile
from pathlib import Path
if TYPE_CHECKING:
import bpy.stub_internal.rna_enums as rna_enums
+2 -2
View File
@@ -21,7 +21,6 @@ import xml.etree.ElementTree as ET
from pathlib import Path
import bpy
import pytest
import ifcopenshell
import ifcopenshell.api.drawing
import ifcopenshell.api.group
@@ -31,8 +30,9 @@ import ifcopenshell.guid
import ifcopenshell.util.element
import mathutils
import numpy as np
from mathutils import Vector
import pytest
from ifcopenshell.util.shape_builder import ShapeBuilder
from mathutils import Vector
import bonsai.core.tool
import bonsai.tool as tool
+2 -2
View File
@@ -16,10 +16,9 @@
# You should have received a copy of the GNU General Public License
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
import json
import contextlib
import json
import tempfile
import numpy as np
from pathlib import Path
from tempfile import NamedTemporaryFile
@@ -30,6 +29,7 @@ import ifcopenshell.api.document
import ifcopenshell.api.root
import ifcopenshell.api.unit
import ifcpatch
import numpy as np
from ifcpatch.recipes import Ifc2Sql
import bonsai.core.tool