Quality check - run black on api/resource

This commit is contained in:
Sigma Dimensions
2022-09-08 03:15:41 +01:00
parent 57caf6a31f
commit 96d19952e9
6 changed files with 54 additions and 16 deletions
@@ -50,5 +50,10 @@ class Usecase:
)
else:
context = self.file.by_type("IfcContext")[0]
ifcopenshell.api.run("project.assign_declaration", self.file, definition=resource, relating_context=context)
ifcopenshell.api.run(
"project.assign_declaration",
self.file,
definition=resource,
relating_context=context,
)
return resource