ifcsverchok - check for unused imports

This commit is contained in:
Andrej730
2026-01-15 17:58:26 +05:00
parent 47e259ff2f
commit ed38d2347c
15 changed files with 8 additions and 35 deletions
-1
View File
@@ -154,7 +154,6 @@ reload_event = False
from os.path import splitext
import ifcopenshell
import ifcopenshell.api
import ifcopenshell.api.aggregate
import ifcopenshell.api.root
import ifcopenshell.api.spatial
-1
View File
@@ -21,7 +21,6 @@ from typing import Any, Union
import bonsai.tool as tool
import bpy
import ifcopenshell
import ifcopenshell.api
import ifcopenshell.api.context
import ifcopenshell.util.representation
from ifcopenshell import template
-1
View File
@@ -20,7 +20,6 @@ import json
import bpy
import ifcopenshell
import ifcopenshell.api
import ifcopenshell.api.pset
import sverchok.core.sockets
from bpy.props import StringProperty
@@ -19,8 +19,6 @@
from itertools import chain
import bpy
import ifcopenshell
import ifcopenshell.api
import ifcopenshell.api.aggregate
import ifcopenshell.api.root
import ifcopenshell.api.spatial
+1 -2
View File
@@ -20,10 +20,9 @@ import logging
from typing import Any, Union
import bpy
import ifcopenshell
import ifcopenshell.api
import sverchok.core.sockets
from bpy.props import EnumProperty, StringProperty
from bpy.props import StringProperty
from sverchok.data_structure import updateNode
from sverchok.node_tree import SverchCustomTreeNode
-16
View File
@@ -16,36 +16,20 @@
# You should have received a copy of the GNU General Public License
# along with IfcSverchok. If not, see <http://www.gnu.org/licenses/>.
from copy import deepcopy
from decimal import Context
from email.policy import default
from itertools import chain, cycle
import bonsai.core.geometry as core
import bonsai.tool as tool
import bpy
import ifcopenshell
import ifcopenshell.api
import ifcopenshell.api.context
import ifcopenshell.api.geometry
import ifcopenshell.util.representation
from bonsai.bim.module.root.prop import get_contexts
from bpy.props import (
BoolProperty,
EnumProperty,
IntProperty,
PointerProperty,
StringProperty,
)
from mathutils import Matrix
from sverchok.core.socket_data import sv_get_socket
from sverchok.data_structure import (
fixed_iter,
flat_iter,
flatten_data,
node_id,
updateNode,
zip_long_repeat,
)
from sverchok.node_tree import SverchCustomTreeNode
-1
View File
@@ -19,7 +19,6 @@
import itertools
import bpy
import ifcopenshell
from bpy.props import StringProperty
from sverchok.data_structure import flatten_data, updateNode
from sverchok.node_tree import SverchCustomTreeNode
-1
View File
@@ -17,7 +17,6 @@
# along with IfcSverchok. If not, see <http://www.gnu.org/licenses/>.
import bpy
import ifcopenshell
import ifcopenshell.util.selector
from bpy.props import StringProperty
from sverchok.data_structure import updateNode
@@ -17,8 +17,6 @@
# along with IfcSverchok. If not, see <http://www.gnu.org/licenses/>.
import bpy
import ifcopenshell
import ifcopenshell.api
import ifcopenshell.api.geometry
import ifcopenshell.api.root
import ifcopenshell.util.schema
@@ -18,7 +18,6 @@
import bpy
import ifcopenshell
import ifcopenshell.api
import ifcopenshell.api.context
import ifcopenshell.api.root
import ifcopenshell.api.unit
+1 -2
View File
@@ -20,9 +20,8 @@ import logging
import bonsai.bim.import_ifc
import bpy
import ifcopenshell
import ifcopenshell.geom
from bpy.props import BoolProperty, PointerProperty, StringProperty
from bpy.props import BoolProperty, StringProperty
from sverchok.data_structure import flatten_data, updateNode
from sverchok.node_tree import SverchCustomTreeNode
@@ -19,7 +19,6 @@
import bonsai.tool as tool
import bpy
import ifcopenshell
import ifcopenshell.util.selector
from bpy.props import StringProperty
from sverchok.data_structure import updateNode
from sverchok.node_tree import SverchCustomTreeNode
+1 -3
View File
@@ -17,12 +17,10 @@
# along with IfcSverchok. If not, see <http://www.gnu.org/licenses/>.
import bpy
import ifcopenshell
import ifcopenshell.api
import ifcopenshell.api.context
import ifcopenshell.api.geometry
import ifcopenshell.util.representation
from bpy.props import EnumProperty, FloatVectorProperty, IntProperty, StringProperty
from bpy.props import EnumProperty, StringProperty
from sverchok.data_structure import ensure_min_nesting, updateNode
from sverchok.node_tree import SverchCustomTreeNode
-1
View File
@@ -20,7 +20,6 @@ from os.path import abspath, splitext
import bpy
import ifcopenshell
import ifcopenshell.api
import ifcopenshell.api.aggregate
import ifcopenshell.api.root
import ifcopenshell.api.spatial
+5
View File
@@ -0,0 +1,5 @@
[tool.ruff]
extend = "../../pyproject.toml"
lint.select = [
"F401", # unused imports
]