Skip to content

Commit e1a0258

Browse files
committed
blackify
1 parent 2b6fa95 commit e1a0258

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

sectionproperties/pre/geometry.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1958,7 +1958,6 @@ def check_geometry_disjoint(lop: List[Polygon]) -> bool:
19581958
if poly1.intersection(poly2):
19591959
connectivity.add(idx_j)
19601960
network[idx_i] = connectivity
1961-
19621961

19631962
def walk_network(node: int, network: dict, nodes_visited: list[int]) -> list[int]:
19641963
"""
@@ -1978,6 +1977,5 @@ def walk_network(node: int, network: dict, nodes_visited: list[int]) -> list[int
19781977
walk_network(0, network, nodes_visited)
19791978
print(nodes_visited)
19801979
print(network)
1981-
1980+
19821981
return set(nodes_visited) != set(network.keys())
1983-

sectionproperties/tests/test_sections.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,6 @@ def test_check_geometry_disjoint():
454454
assert check_geometry_disjoint([rect.geom, rect2.geom]) == False
455455

456456

457-
458457
def test_warping_disjoint_warning():
459458
rect = rectangular_section(d=50, b=50)
460459
circ = circular_section(d=50, n=32).shift_section(x_offset=125, y_offset=25)

0 commit comments

Comments
 (0)