Skip to content

Commit 863c063

Browse files
committed
add black to requirements-dev.txt
1 parent 10dc779 commit 863c063

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33

44
# Dev-only tools
55
pytest==8.4.2
6-
# black
6+
black
77
# flake8

tests/ifcplus/api/test_distribution_element.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,11 @@ def test_create_elbows(
110110
add_shape_representation_to_ports=False,
111111
)
112112

113-
horizontal_curve_4 = (
114-
ifcplus.util.geometry.HorizontalCurve.from_3pt_polyline(
115-
first_point=(7.0, 1.0, 0.0),
116-
second_point=(7.0, 2.0, 0.0),
117-
third_point=(8.0, 2.0, 0.0),
118-
radius_of_curvature=1.0,
119-
)
113+
horizontal_curve_4 = ifcplus.util.geometry.HorizontalCurve.from_3pt_polyline(
114+
first_point=(7.0, 1.0, 0.0),
115+
second_point=(7.0, 2.0, 0.0),
116+
third_point=(8.0, 2.0, 0.0),
117+
radius_of_curvature=1.0,
120118
)
121119

122120
ifcplus.api.distribution_element.create_elbow(
@@ -301,13 +299,15 @@ def test_create_air_filtration_containment_housing(
301299
include_subtypes=False,
302300
)[0]
303301

304-
hepa = ifcplus.api.distribution_element.create_air_filtration_containment_housing(
305-
ifc4_file=ifc_file_with_ventilation_distribution_system,
306-
name="HEPA",
307-
spatial_element=site,
308-
distribution_system=distribution_system,
309-
place_object_relative_to_parent=False,
310-
add_shape_representation_to_ports=False,
302+
hepa = (
303+
ifcplus.api.distribution_element.create_air_filtration_containment_housing(
304+
ifc4_file=ifc_file_with_ventilation_distribution_system,
305+
name="HEPA",
306+
spatial_element=site,
307+
distribution_system=distribution_system,
308+
place_object_relative_to_parent=False,
309+
add_shape_representation_to_ports=False,
310+
)
311311
)
312312

313313
bbox = ifcplus.util.geometry.BoundingBox.from_ifc_product(

0 commit comments

Comments
 (0)