black, sort imports

This commit is contained in:
Andrej730
2026-08-14 10:17:02 +05:00
parent 4b87ab5d0d
commit e2561ffa3b
2 changed files with 2 additions and 4 deletions
+1 -3
View File
@@ -243,9 +243,7 @@ class MSP2Ifc:
# <Name> is the file the export came from; <Title> is what the planner
# called the programme, and is the string a viewer puts in its header.
self.project["Name"] = (
self.text(project, "Title") or self.text(project, "Name") or "Unnamed"
)
self.project["Name"] = self.text(project, "Title") or self.text(project, "Name") or "Unnamed"
self.project["CalendarUID"] = self.text(project, "CalendarUID")
minutes_per_day = self.text(project, "MinutesPerDay")
self.project["MinutesPerDay"] = minutes_per_day
+1 -1
View File
@@ -37,8 +37,8 @@ from pathlib import Path
import ifcopenshell
import ifcopenshell.api.aggregate
import ifcopenshell.api.context
import ifcopenshell.api.georeference
import ifcopenshell.api.geometry
import ifcopenshell.api.georeference
import ifcopenshell.api.project
import ifcopenshell.api.root
import ifcopenshell.api.spatial