Skip to content

Commit

Permalink
Apply suggestions from code review (minor changes)
Browse files Browse the repository at this point in the history
Co-authored-by: Frank Elsinga <[email protected]>
  • Loading branch information
octycs and CommanderStorm authored Apr 10, 2023
1 parent a105588 commit 4c0d801
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/processors/nat.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ def _infer_internal_id(b_code, data):
return b_code

raise RuntimeError(
f"Building id '{b_code}' not found in base data. " f"It may be missing in the areatree.",
f"Building id '{b_code}' not found in base data. It may be missing in the areatree.",
)


def _merge_building(data, building):
def _merge_building(data, building: NATBuilding) -> None:
internal_id = _infer_internal_id(building.b_code, data)

b_data = data[internal_id]
Expand Down

0 comments on commit 4c0d801

Please sign in to comment.