ruff format

This commit is contained in:
Kadir 2024-03-25 20:48:48 +00:00
parent 37e3e8ad6f
commit d777558b34
17 changed files with 411 additions and 368 deletions

View file

@ -9,7 +9,7 @@ for listing in tqdm(list(Listing.get_all_listings())):
floorplans = json.load(f)
for floorplan in floorplans:
floorplan['estimated_sqm'] = extract_total_sqm(floorplan['text'])
floorplan["estimated_sqm"] = extract_total_sqm(floorplan["text"])
with open(listing.path_floorplan_ocr_json(), 'w') as f:
with open(listing.path_floorplan_ocr_json(), "w") as f:
floorplans = json.dump(floorplans, f)