diff --git a/src/ifcedit/tests/conftest.py b/src/ifcedit/tests/conftest.py index 36ebdc364b..29f37d5572 100644 --- a/src/ifcedit/tests/conftest.py +++ b/src/ifcedit/tests/conftest.py @@ -1,5 +1,3 @@ -import pytest - import ifcopenshell import ifcopenshell.api.aggregate import ifcopenshell.api.owner.settings @@ -8,6 +6,7 @@ import ifcopenshell.api.pset import ifcopenshell.api.root import ifcopenshell.api.spatial import ifcopenshell.api.unit +import pytest @pytest.fixture diff --git a/src/ifcedit/tests/test_coerce.py b/src/ifcedit/tests/test_coerce.py index 5f39efa964..5305ddb394 100644 --- a/src/ifcedit/tests/test_coerce.py +++ b/src/ifcedit/tests/test_coerce.py @@ -1,9 +1,8 @@ import json from typing import Literal, Optional, Union -import pytest - import ifcopenshell +import pytest from ifcedit.coerce import coerce_value diff --git a/src/ifcedit/tests/test_main.py b/src/ifcedit/tests/test_main.py index ecf04ad046..f10677f9bc 100644 --- a/src/ifcedit/tests/test_main.py +++ b/src/ifcedit/tests/test_main.py @@ -78,7 +78,9 @@ class TestRunCommand: def test_output_to_different_file(self, model_file, tmp_path): output = str(tmp_path / "output.ifc") - stdout, stderr, rc = run_ifcedit("run", model_file, "root.create_entity", "-o", output, "--ifc_class", "IfcSlab") + stdout, stderr, rc = run_ifcedit( + "run", model_file, "root.create_entity", "-o", output, "--ifc_class", "IfcSlab" + ) assert rc == 0, f"stderr: {stderr}" data = json.loads(stdout) assert data["ok"] is True diff --git a/src/ifcmcp/ifcmcp/server.py b/src/ifcmcp/ifcmcp/server.py index 834d63eed0..76077061d4 100644 --- a/src/ifcmcp/ifcmcp/server.py +++ b/src/ifcmcp/ifcmcp/server.py @@ -4,11 +4,10 @@ import json from typing import Any import ifcopenshell - -from ifcquery import clash as clash_mod -from ifcquery import info, relations, select, summary, tree from ifcedit.discover import function_docs, list_functions, list_modules from ifcedit.run import run_api +from ifcquery import clash as clash_mod +from ifcquery import info, relations, select, summary, tree from mcp.server.fastmcp import FastMCP server = FastMCP( diff --git a/src/ifcmcp/tests/conftest.py b/src/ifcmcp/tests/conftest.py index 095a43d587..3e421c2fd3 100644 --- a/src/ifcmcp/tests/conftest.py +++ b/src/ifcmcp/tests/conftest.py @@ -1,5 +1,3 @@ -import pytest - import ifcopenshell import ifcopenshell.api.aggregate import ifcopenshell.api.owner.settings @@ -7,6 +5,7 @@ import ifcopenshell.api.project import ifcopenshell.api.root import ifcopenshell.api.spatial import ifcopenshell.api.unit +import pytest import ifcmcp.server as server_mod diff --git a/src/ifcquery/tests/conftest.py b/src/ifcquery/tests/conftest.py index 60aad11276..ac08771c27 100644 --- a/src/ifcquery/tests/conftest.py +++ b/src/ifcquery/tests/conftest.py @@ -1,5 +1,3 @@ -import pytest - import ifcopenshell import ifcopenshell.api.aggregate import ifcopenshell.api.owner.settings @@ -7,6 +5,7 @@ import ifcopenshell.api.project import ifcopenshell.api.root import ifcopenshell.api.spatial import ifcopenshell.api.unit +import pytest @pytest.fixture diff --git a/src/ifcquery/tests/test_clash.py b/src/ifcquery/tests/test_clash.py index a03214c86d..7761a1c12f 100644 --- a/src/ifcquery/tests/test_clash.py +++ b/src/ifcquery/tests/test_clash.py @@ -4,9 +4,6 @@ import subprocess import sys import tempfile -import numpy as np -import pytest - import ifcopenshell import ifcopenshell.api.aggregate import ifcopenshell.api.context @@ -16,6 +13,8 @@ import ifcopenshell.api.project import ifcopenshell.api.root import ifcopenshell.api.spatial import ifcopenshell.api.unit +import numpy as np +import pytest from ifcquery.clash import clash diff --git a/src/ifcquery/tests/test_main.py b/src/ifcquery/tests/test_main.py index 217cbd0ed5..11a361f796 100644 --- a/src/ifcquery/tests/test_main.py +++ b/src/ifcquery/tests/test_main.py @@ -6,7 +6,6 @@ import tempfile import ifcopenshell import ifcopenshell.api.project - import pytest