Run black, and add black to a "qa" target to make it a standardised process.

This commit is contained in:
Dion Moult
2021-09-09 21:27:23 +10:00
parent 95903c965d
commit 865c0f4895
305 changed files with 1968 additions and 1143 deletions
@@ -23,7 +23,7 @@ class Data(CostValueTrait):
return
cls.load_resources()
cls.load_resource_times()
cls.is_loaded=True
cls.is_loaded = True
@classmethod
def load_resources(cls):
@@ -63,6 +63,6 @@ class Data(CostValueTrait):
continue
if "Start" in key or "Finish" in key or key == "StatusTime":
data[key] = ifcopenshell.util.date.ifc2datetime(value)
elif "Work" in key or key =="LevelingDelay":
elif "Work" in key or key == "LevelingDelay":
data[key] = ifcopenshell.util.date.ifc2datetime(value)
cls.resource_times[resource_time.id()] = data