ruff - check for more unused imports

This commit is contained in:
Andrej730
2026-01-26 12:45:17 +05:00
parent 4edcad13b8
commit 72f8218fcd
74 changed files with 56 additions and 138 deletions
+1 -1
View File
@@ -16,6 +16,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with IfcTester. If not, see <http://www.gnu.org/licenses/>.
from .ids import open
from .ids import open as open
__version__ = version = "0.0.0"
-6
View File
@@ -28,16 +28,10 @@ from xmlschema import XMLSchema, etree_tostring
from xmlschema.validators.exceptions import XMLSchemaValidationError
from .facet import (
Attribute,
Cardinality,
Classification,
Entity,
Facet,
FacetFailure,
Material,
PartOf,
Property,
Restriction,
get_pset,
get_psets,
)
+6
View File
@@ -32,3 +32,9 @@ exclude = ["test*"]
[tool.setuptools.package-data]
"*" = ["*.*"]
[tool.ruff]
extend = "../../pyproject.toml"
lint.select = [
"F401", # unused imports
]
-1
View File
@@ -24,7 +24,6 @@ from pathlib import Path
from xml.dom.minidom import parseString
import ifcopenshell
import ifcopenshell.api
import ifcopenshell.api.aggregate
import ifcopenshell.api.context
import ifcopenshell.api.geometry
-1
View File
@@ -20,7 +20,6 @@
import uuid
import ifcopenshell
import ifcopenshell.api
import ifcopenshell.api.aggregate
import ifcopenshell.api.classification
import ifcopenshell.api.group
-1
View File
@@ -20,7 +20,6 @@ import os
from typing import Optional
import ifcopenshell
import ifcopenshell.api
import ifcopenshell.api.material
import pytest
import xmlschema
@@ -1,10 +1,7 @@
import xml.etree.ElementTree as ET
import ifcopenshell
import ifcopenshell.util
import ifcopenshell.util.attribute
import ifcopenshell.util.pset
import ifcopenshell.util.schema
from ifctester.ids import Ids, IdsXmlValidationError, get_schema
from xmlschema.validators.exceptions import XMLSchemaValidationError