Skip to content

Commit 412ba45

Browse files
chriswmackeyChris Mackey
authored and
Chris Mackey
committed
fix(deps): Remove unused dependabot
The deps that Dependabot is updating would break a lot of the CI and so it seems easier to just ignore it for now.
1 parent fb102a1 commit 412ba45

File tree

4 files changed

+21
-44
lines changed

4 files changed

+21
-44
lines changed

.github/dependabot.yml

-22
This file was deleted.

dev-requirements.txt

+11-12
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
coverage>=4.1
2-
coveralls==3.2.0
3-
pytest==6.2.5
4-
pytest-cov==3.0.0
5-
twine==3.4.2
6-
sphinx==3.5.4
1+
coveralls==2.2.0
2+
pytest==6.2.4
3+
pytest-cov==2.12.0
4+
Sphinx==3.3.1
5+
docutils==0.17
76
sphinx-bootstrap-theme==0.7.1
87
sphinxcontrib-fulltoc==1.2.0
98
sphinxcontrib-websupport==1.2.4
10-
sphinx-click==3.0.1
11-
twine==3.4.2
12-
wheel==0.37.0
13-
setuptools==57.1.0
14-
importlib-metadata==4.8.1
15-
pydantic_openapi_helper==0.2.7
9+
sphinx-click==2.7.1
10+
twine==3.4.1
11+
wheel==0.36.2
12+
setuptools==57.0.0
13+
importlib-metadata==4.3.1
14+
pydantic-openapi-helper==0.2.9

honeybee_3dm/togeometry.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def check_planarity(brep, tolerance):
6363
Bool. True if planar. Otherwise False.
6464
"""
6565
is_planar = [brep.Surfaces[i].IsPlanar(tolerance)
66-
for i in range(len(brep.Surfaces))]
66+
for i in range(len(brep.Surfaces))]
6767

6868
return all(is_planar)
6969

@@ -215,7 +215,7 @@ def brep_to_face3d(brep, tolerance, obj):
215215
end_pt = to_point3d(brep.Edges[i].PointAtEnd)
216216
line = LineSegment3D.from_end_points(start_pt, end_pt)
217217
lines.append(line)
218-
218+
219219
# Create Ladybug Polylines from the lines
220220
polylines = Polyline3D.join_segments(lines, tolerance)
221221

@@ -243,7 +243,7 @@ def brep_to_face3d(brep, tolerance, obj):
243243
polyline_area_dict = dict(zip(polylines, polyline_areas))
244244

245245
sorted_dict = sorted(polyline_area_dict.items(),
246-
key=lambda x: x[1], reverse=True)
246+
key=lambda x: x[1], reverse=True)
247247
sorted_polylines = [item[0] for item in sorted_dict]
248248

249249
# Points on boundary
@@ -252,20 +252,20 @@ def brep_to_face3d(brep, tolerance, obj):
252252

253253
hole_pts = [remove_dup_vertices(polyline.vertices, tolerance)
254254
for polyline in sorted_polylines[1:]]
255-
255+
256256
# Points on holes
257257
total_hole_pts = [
258258
pts for pts_lst in hole_pts for pts in pts_lst]
259-
259+
260260
hole_pts_on_boundary = [
261261
pts for pts in total_hole_pts if pts in boundary_pts]
262262

263263
# If any of the hole is touching the boundary of the face, mesh it
264264
if len(hole_pts_on_boundary) > 0:
265265
warnings.warn(
266-
f'Object with id: {obj.Attributes.Id} has holes that touch the'
266+
f'Object with id: {obj.Attributes.Id} has holes that touch the'
267267
' boundary of the object. This object will be meshed.'
268-
)
268+
)
269269
return brep_to_mesh_to_face3d(brep)
270270
# else create a face3d with holes
271271
else:
@@ -363,13 +363,13 @@ def to_face3d(obj, tolerance, *, raise_exception=False):
363363
# If it's a mesh
364364
elif isinstance(rh_geo, rhino3dm.Mesh):
365365
lb_face = mesh_to_face3d(rh_geo)
366-
366+
367367
else:
368368
if raise_exception:
369369
raise ValueError(f'Unsupported object type: {rh_geo.ObjectType}')
370370
warnings.warn(
371371
f'Unsupported object type: {rh_geo.ObjectType} is ignored'
372-
)
372+
)
373373
lb_face = []
374374

375375
return lb_face

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
lbt-honeybee==0.5.108
1+
lbt-honeybee>=0.6.115
22
rhino3dm==7.7.0

0 commit comments

Comments
 (0)