mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 23:50:59 +00:00
bonsai - sort imports
This commit is contained in:
@@ -19,17 +19,19 @@
|
||||
|
||||
import os
|
||||
import re
|
||||
import bpy
|
||||
import pytest
|
||||
import webbrowser
|
||||
import bonsai.bim.handler
|
||||
import bonsai.tool as tool
|
||||
|
||||
import bpy
|
||||
import ifcopenshell
|
||||
import ifcopenshell.util.element
|
||||
import ifcopenshell.util.representation
|
||||
from bonsai.bim.ifc import IfcStore
|
||||
import pytest
|
||||
from mathutils import Vector
|
||||
|
||||
import bonsai.bim.handler
|
||||
import bonsai.tool as tool
|
||||
from bonsai.bim.ifc import IfcStore
|
||||
|
||||
# Monkey-patch webbrowser opening since we want to test headlessly
|
||||
webbrowser.open = lambda x: True
|
||||
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
|
||||
import pytest
|
||||
from mathutils import Vector
|
||||
from bonsai.bim.module.drawing.helper import clip_segment
|
||||
|
||||
from bonsai.bim.module.drawing.helper import clip_segment
|
||||
|
||||
BOUNDS = (10, 30, 10, 30, None, None)
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
from typing import Union, Any, Optional
|
||||
from typing import Any, Optional, Union
|
||||
|
||||
|
||||
class bSDDClientStub:
|
||||
|
||||
@@ -17,31 +17,34 @@
|
||||
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
import types
|
||||
import bpy
|
||||
import pytest
|
||||
import shutil
|
||||
import pprint
|
||||
import shutil
|
||||
import traceback
|
||||
import types
|
||||
import webbrowser
|
||||
import numpy as np
|
||||
import test.bim.stub
|
||||
from collections.abc import Generator
|
||||
from inspect import signature
|
||||
from math import radians
|
||||
from pathlib import Path
|
||||
from typing import Any, Union
|
||||
|
||||
import bpy
|
||||
import ifcopenshell
|
||||
import ifcopenshell.util.element
|
||||
import ifcopenshell.util.representation
|
||||
import bonsai.tool as tool
|
||||
import bonsai.bim.handler
|
||||
from collections.abc import Generator
|
||||
from bonsai.bim.ifc import IfcStore
|
||||
from bonsai.tool.brick import BrickStore
|
||||
from bonsai.bim.module.model.data import AuthoringData
|
||||
from pytest_bdd import scenarios, given, when, then, parsers
|
||||
from inspect import signature
|
||||
import numpy as np
|
||||
import pytest
|
||||
from mathutils import Vector
|
||||
from math import radians
|
||||
from pathlib import Path
|
||||
from typing import Union, Any
|
||||
from pytest_bdd import given, parsers, scenarios, then, when
|
||||
|
||||
import bonsai.bim.handler
|
||||
import bonsai.tool as tool
|
||||
import test.bim.stub
|
||||
from bonsai.bim.ifc import IfcStore
|
||||
from bonsai.bim.module.model.data import AuthoringData
|
||||
from bonsai.tool.brick import BrickStore
|
||||
|
||||
scenarios("feature")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user