mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-11 14:22:33 +00:00
Run black on IfcTester
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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__))
|
||||
|
||||
Reference in New Issue
Block a user