mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
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.
(cherry picked from commit c4605f2a8f)
This commit is contained in:
committed by
Dion Moult
parent
7036ea5c33
commit
1132c3c385
@@ -58,7 +58,11 @@ def add_stationing_referent(
|
|||||||
if on_basis_curve is None:
|
if on_basis_curve is None:
|
||||||
on_basis_curve = True
|
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
|
object_placement = None
|
||||||
representation = None
|
representation = None
|
||||||
|
|||||||
@@ -18,7 +18,6 @@
|
|||||||
|
|
||||||
import ifcopenshell
|
import ifcopenshell
|
||||||
import ifcopenshell.util.placement
|
import ifcopenshell.util.placement
|
||||||
import ifcopenshell.util.unit
|
|
||||||
from ifcopenshell import entity_instance
|
from ifcopenshell import entity_instance
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user