ifcopenshell.validate - remove simple_spf dependency (689289b)

Moved it to `TYPE_CHECKING` since it's currently used just for typing.

Was breaking validation in Bonsai since it doesn't provide all submodules with IfcOpenShell https://github.com/IfcOpenShell/IfcOpenShell/issues/6723#issuecomment-3016223786

Also added a simple test so github workflow would catch a simple error like this.
This commit is contained in:
Andrej730
2025-06-30 18:08:24 +05:00
parent c23c21cb88
commit fc10915d2b
2 changed files with 11 additions and 2 deletions
@@ -26,3 +26,9 @@ Scenario: Use the inspector - inspect from object
When the object "IfcProject/My Project" is selected
And I press "bim.inspect_from_object"
Then nothing happens
Scenario: Run IFC validation
Given an empty IFC project
And I load the demo construction library
And I press "bim.validate_ifc_file"
Then nothing happens