bonsai - sort imports

This commit is contained in:
Andrej730
2026-01-26 17:11:12 +05:00
parent 1319391a6b
commit 953c5fddc6
524 changed files with 3338 additions and 2344 deletions
+4 -2
View File
@@ -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
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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:
+1 -1
View File
@@ -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: