ifcopenshell-python - clean up unused imports

This commit is contained in:
Andrej730
2026-01-16 16:55:56 +05:00
parent 233ad63bca
commit dfc91e6639
156 changed files with 22 additions and 233 deletions
@@ -16,7 +16,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
import pytest
import ifcopenshell.util.scripts.validate_stub as subject
@@ -16,7 +16,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
import pytest
import ifcopenshell
import ifcopenshell.ifcopenshell_wrapper as W
@@ -16,7 +16,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
import pytest
import ifcopenshell.api.root
import ifcopenshell.api.type
@@ -16,10 +16,8 @@
# You should have received a copy of the GNU Lesser General Public License
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
import pytest
import ifcopenshell.util.date as subject
import test.bootstrap
class TestReadableIFCDuration:
@@ -20,7 +20,6 @@ import tempfile
import zipfile
from pathlib import Path
import pytest
import ifcopenshell.util.file as subject
import test.bootstrap
@@ -16,7 +16,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
import ifcopenshell
import ifcopenshell.util.placement as subject
import test.bootstrap
@@ -17,7 +17,6 @@
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
"""Run this test from src/ifcopenshell-python folder: pytest --durations=0 ifcopenshell/util/test_pset.py"""
from ifcopenshell import util
from ifcopenshell.util import pset
from ifcopenshell.util.pset import ApplicableEntity
@@ -26,13 +26,11 @@ import ifcopenshell.api.group
import ifcopenshell.api.material
import ifcopenshell.api.pset
import ifcopenshell.api.root
import ifcopenshell.api.sequence
import ifcopenshell.api.spatial
import ifcopenshell.api.type
import ifcopenshell.api.unit
import ifcopenshell.util.element
import ifcopenshell.util.placement
import ifcopenshell.util.pset
import ifcopenshell.util.selector as subject
import test.bootstrap
@@ -22,9 +22,7 @@ from typing import Any, Union
import numpy as np
import pytest
import ifcopenshell.api
import ifcopenshell.geom
import ifcopenshell.util
import ifcopenshell.util.shape
import test.bootstrap
from ifcopenshell.util.shape_builder import (
@@ -16,9 +16,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
import pytest
import ifcopenshell.api
import ifcopenshell.util.type as subject
import test.bootstrap