From 97ece7c20b54f741ca9c5dfcd14fb109a9a7c4df Mon Sep 17 00:00:00 2001 From: Andrej Date: Mon, 9 Jun 2025 09:55:29 +0500 Subject: [PATCH] black . --- .../ifcopenshell/api/cost/assign_cost_item_quantity.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ifcopenshell-python/ifcopenshell/api/cost/assign_cost_item_quantity.py b/src/ifcopenshell-python/ifcopenshell/api/cost/assign_cost_item_quantity.py index fb30eb81e2..d0949bd331 100644 --- a/src/ifcopenshell-python/ifcopenshell/api/cost/assign_cost_item_quantity.py +++ b/src/ifcopenshell-python/ifcopenshell/api/cost/assign_cost_item_quantity.py @@ -157,7 +157,7 @@ class Usecase: count = 0 for rel in self.settings["cost_item"].Controls: for obj in rel.RelatedObjects: - #Only increment if not a resource + # Only increment if not a resource if not obj.is_a("IfcConstructionResource"): - count +=1 + count += 1 quantity[3] = count