mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 12:23:44 +00:00
bonsai - sort imports
This commit is contained in:
@@ -16,11 +16,13 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import sys
|
||||
import json
|
||||
import sys
|
||||
from typing import Any, Literal, Optional, Self, TypedDict
|
||||
|
||||
import pytest
|
||||
|
||||
import bonsai.core.tool
|
||||
from typing import Any, Optional, TypedDict, Literal, Self
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import bonsai.core.aggregate as subject
|
||||
from test.core.bootstrap import ifc, aggregate, collector
|
||||
from test.core.bootstrap import aggregate, collector, ifc
|
||||
|
||||
|
||||
class TestEnableEditingAggregate:
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import bonsai.core.attribute as subject
|
||||
from test.core.bootstrap import ifc, blender, root, spatial
|
||||
from test.core.bootstrap import blender, ifc, root, spatial
|
||||
|
||||
|
||||
class TestCopyAttributeToSelection:
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import bonsai.core.brick as subject
|
||||
from test.core.bootstrap import ifc, brick
|
||||
from test.core.bootstrap import brick, ifc
|
||||
|
||||
|
||||
class TestLoadBrickProject:
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import bonsai.core.context as subject
|
||||
from test.core.bootstrap import ifc, context
|
||||
from test.core.bootstrap import context, ifc
|
||||
|
||||
|
||||
class TestAddContext:
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import bonsai.core.document as subject
|
||||
from test.core.bootstrap import ifc, document
|
||||
from test.core.bootstrap import document, ifc
|
||||
|
||||
|
||||
class TestLoadProjectDocuments:
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import bonsai.core.drawing as subject
|
||||
from test.core.bootstrap import ifc, drawing, collector, geometry, blender, Prophecy
|
||||
from test.core.bootstrap import Prophecy, blender, collector, drawing, geometry, ifc
|
||||
|
||||
|
||||
class TestEnableEditingText:
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
import bonsai.core.geometry as subject
|
||||
import test.core.test_style
|
||||
from test.core.bootstrap import ifc, surveyor, geometry, style
|
||||
from test.core.bootstrap import geometry, ifc, style, surveyor
|
||||
|
||||
|
||||
class TestEditObjectPlacement:
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import bonsai.core.georeference as subject
|
||||
from test.core.bootstrap import ifc, georeference
|
||||
from test.core.bootstrap import georeference, ifc
|
||||
|
||||
|
||||
class TestAddGeoreferencing:
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import bonsai.core.material as subject
|
||||
from test.core.bootstrap import ifc, material, style, spatial
|
||||
from test.core.bootstrap import ifc, material, spatial, style
|
||||
|
||||
|
||||
class TestAddMaterial:
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import bonsai.core.misc as subject
|
||||
from test.core.bootstrap import misc, ifc
|
||||
from test.core.bootstrap import ifc, misc
|
||||
|
||||
|
||||
class TestResizeToStorey:
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import bonsai.core.nest as subject
|
||||
from test.core.bootstrap import ifc, nest, collector
|
||||
from test.core.bootstrap import collector, ifc, nest
|
||||
|
||||
|
||||
class TestEnableEditingNeset:
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
import bonsai.core.owner as subject
|
||||
from test.core.bootstrap import ifc, owner, Prophecy
|
||||
from test.core.bootstrap import Prophecy, ifc, owner
|
||||
|
||||
|
||||
class TestAddPerson:
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
import bonsai.core.project as subject
|
||||
from test.core.bootstrap import ifc, project, spatial, georeference
|
||||
from test.core.bootstrap import georeference, ifc, project, spatial
|
||||
|
||||
|
||||
class TestCreateProject:
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
import bonsai.core.root as subject
|
||||
import test.core.test_geometry
|
||||
from test.core.bootstrap import ifc, collector, geometry, root
|
||||
from test.core.bootstrap import collector, geometry, ifc, root
|
||||
|
||||
|
||||
class TestCopyClass:
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import bonsai.core.spatial as subject
|
||||
from test.core.bootstrap import ifc, collector, spatial
|
||||
from test.core.bootstrap import collector, ifc, spatial
|
||||
|
||||
|
||||
class TestReferenceStructure:
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import bonsai.core.style as subject
|
||||
from test.core.bootstrap import ifc, material, style, spatial
|
||||
from test.core.bootstrap import ifc, material, spatial, style
|
||||
|
||||
|
||||
class TestAddStyle:
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
|
||||
import bonsai.core.system as subject
|
||||
from test.core.bootstrap import ifc, system, spatial, group
|
||||
from test.core.bootstrap import group, ifc, spatial, system
|
||||
|
||||
|
||||
class TestLoadSystems:
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
# along with Bonsai. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import bonsai.core.type as subject
|
||||
from test.core.bootstrap import ifc, type, geometry
|
||||
from test.core.bootstrap import geometry, ifc, type
|
||||
|
||||
|
||||
class TestAssignType:
|
||||
|
||||
Reference in New Issue
Block a user