From e41df68124b72e83616736cdac30cd90c0a48170 Mon Sep 17 00:00:00 2001 From: Dion Moult Date: Tue, 27 Jan 2026 15:57:19 +1100 Subject: [PATCH] Reintroduce public API for IfcTester after ruff purge 72f8218fcd87429d920b08cb73b11cf959ba4b26 --- src/ifctester/ifctester/__init__.py | 3 ++- src/ifctester/ifctester/ids.py | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/ifctester/ifctester/__init__.py b/src/ifctester/ifctester/__init__.py index 46b38aa82e..f7d708105d 100644 --- a/src/ifctester/ifctester/__init__.py +++ b/src/ifctester/ifctester/__init__.py @@ -16,6 +16,7 @@ # You should have received a copy of the GNU Lesser General Public License # along with IfcTester. If not, see . -from .ids import open as open +from .ids import open __version__ = version = "0.0.0" +__all__ = ["open"] diff --git a/src/ifctester/ifctester/ids.py b/src/ifctester/ifctester/ids.py index d6ae3bd44a..8d00ce9fac 100644 --- a/src/ifctester/ifctester/ids.py +++ b/src/ifctester/ifctester/ids.py @@ -28,14 +28,21 @@ 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, ) +__all__ = ["Attribute", "Classification", "Entity", "Material", "PartOf", "Property", "Restriction"] cwd = os.path.dirname(os.path.realpath(__file__)) schema = None