Fix lint drift introduced by merging v0.8.0 into lint-pass

- add_stationing_referent.py: black reformat (new drift from v0.8.0).
- update_fallback_position.py: v0.8.0's changes to this file made the
  ifcopenshell.util.unit import (added in an earlier commit here) unused;
  removed per ruff.
This commit is contained in:
Stephen Boddy
2026-07-10 22:21:23 +01:00
parent 4a62ffe9ca
commit c4605f2a8f
2 changed files with 5 additions and 2 deletions
@@ -58,7 +58,11 @@ def add_stationing_referent(
if on_basis_curve is None:
on_basis_curve = True
curve = ifcopenshell.api.alignment.get_basis_curve(alignment) if on_basis_curve else ifcopenshell.api.alignment.get_curve(alignment)
curve = (
ifcopenshell.api.alignment.get_basis_curve(alignment)
if on_basis_curve
else ifcopenshell.api.alignment.get_curve(alignment)
)
object_placement = None
representation = None
@@ -18,7 +18,6 @@
import ifcopenshell
import ifcopenshell.util.placement
import ifcopenshell.util.unit
from ifcopenshell import entity_instance