Run black on IfcOpenShell-python.

This commit is contained in:
Dion Moult
2022-01-10 15:42:24 +11:00
parent 256f40ed44
commit 666e484b2b
32 changed files with 368 additions and 242 deletions
@@ -32,7 +32,7 @@ class Usecase:
# IfcTextLiteral
"ifc_representation_class": None, # Whether to cast a mesh into a particular class
"profile_set_usage": None, # The material profile set if the extrusion requires it
"text_literal": None, # The text literal if the representation requires it
"text_literal": None, # The text literal if the representation requires it
}
self.ifc_vertices = []
for key, value in settings.items():
@@ -26,8 +26,10 @@ class Usecase:
if conversion_offset:
return self.file.createIfcConversionBasedUnitWithOffset(
exponents, unit_type, self.settings["name"], conversion_factor, conversion_offset,
exponents,
unit_type,
self.settings["name"],
conversion_factor,
conversion_offset,
)
return self.file.createIfcConversionBasedUnit(
exponents, unit_type, self.settings["name"], conversion_factor
)
return self.file.createIfcConversionBasedUnit(exponents, unit_type, self.settings["name"], conversion_factor)