check-whitespace: normalize json files

This commit is contained in:
Andrej730
2026-09-14 11:39:30 +05:00
parent 0c12d2334b
commit 3e88479277
26 changed files with 38 additions and 25 deletions
@@ -4,7 +4,7 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "BonsaiDocsServer",
"type": "debugpy",
@@ -19,4 +19,3 @@
}
]
}
@@ -4,7 +4,7 @@
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "BonsaiDocsServer",
"type": "debugpy",
@@ -15,4 +15,4 @@
"console": "integratedTerminal"
}
]
}
}
@@ -21,4 +21,4 @@
"problemMatcher": []
}
]
}
}
@@ -81,6 +81,7 @@ def generate_ifc4_entity_map(filepath, schema_name, manual_corrections={}):
schema_version = schema_name.lower().strip("ifc")
with open(f"src/ifcopenshell-python/ifcopenshell/util/entity_to_type_map_{schema_version}.json", "w") as f:
json.dump(entity_to_type_map, f, indent=4, sort_keys=True)
f.write("\n")
return entity_to_type_map
@@ -126,6 +127,7 @@ def generate_ifc2x3_entity_map():
with open("src/ifcopenshell-python/ifcopenshell/util/entity_to_type_map_2x3.json", "w") as f:
json.dump(entity_to_type_map, f, indent=4, sort_keys=True)
f.write("\n")
return entity_to_type_map