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
@@ -19,9 +19,5 @@ class Usecase:
for rel in self.settings["work_schedule"].Controls:
for related_object in rel.RelatedObjects:
if related_object.is_a("IfcTask"):
ifcopenshell.api.run(
"sequence.remove_task",
self.file,
task=related_object
)
ifcopenshell.api.run("sequence.remove_task", self.file, task=related_object)
self.file.remove(self.settings["work_schedule"])