Run black on IfcTester

This commit is contained in:
Dion Moult
2024-03-29 15:28:33 +11:00
parent b718a37db2
commit 377f68c020
4 changed files with 88 additions and 26 deletions
+1 -1
View File
@@ -352,7 +352,7 @@ class Classification(Facet):
def __call__(self, inst, logger=None):
if self.cardinality == "optional":
return ClassificationResult(True) # Is this really the correct behaviour?
return ClassificationResult(True) # Is this really the correct behaviour?
leaf_references = ifcopenshell.util.classification.get_references(inst)
+12 -1
View File
@@ -21,7 +21,18 @@ import datetime
from xmlschema import XMLSchema
from xmlschema import etree_tostring
from xml.etree import ElementTree as ET
from .facet import Facet, Entity, Attribute, Classification, Property, PartOf, Material, Restriction, get_pset, get_psets
from .facet import (
Facet,
Entity,
Attribute,
Classification,
Property,
PartOf,
Material,
Restriction,
get_pset,
get_psets,
)
from typing import List, Set
cwd = os.path.dirname(os.path.realpath(__file__))