mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 20:50:02 +00:00
Apply black formatting to satisfy lint-formatting CI
Three files flagged by black --check on the lint-formatting job: * bim/module/geometry/operator.py — single-arg `.update(...)` rejoined onto one line under the 120-char budget. * test/bim/module/model/test_wall_gizmos.py — same join on a _make_path_rel call. * test/modal/test_modal.py — pre-existing baseline noise picked up via the upstream merge: PEP-8 blank-line separators between top- level functions, `0.68+` → `0.68 +`, double quotes, trailing whitespace stripped. No behavioural change; pure whitespace. Generated with the assistance of an AI coding tool.
This commit is contained in:
@@ -272,9 +272,7 @@ def test_iter_path_connections_includes_fillet_corner_partner():
|
||||
# LAYER2 wall's perspective.
|
||||
self_elem = object()
|
||||
fillet_partner = object()
|
||||
rel = _make_path_rel(
|
||||
relating=self_elem, related=fillet_partner, relating_ct="ATEND", related_ct="ATSTART"
|
||||
)
|
||||
rel = _make_path_rel(relating=self_elem, related=fillet_partner, relating_ct="ATEND", related_ct="ATSTART")
|
||||
elem = SimpleNamespace(ConnectedTo=[rel], ConnectedFrom=[])
|
||||
result = _run_iter_path_connections(elem, partner_predicate=lambda e: e is fillet_partner)
|
||||
assert result == [(fillet_partner, "ATEND", "ATSTART")]
|
||||
|
||||
Reference in New Issue
Block a user