Skip to content

Commit 6bb6513

Browse files
committed
rerun ruff over files changed before ruff update
1 parent 88cb330 commit 6bb6513

2 files changed

Lines changed: 11 additions & 6 deletions

File tree

src/gridfinity_build123d/base.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,12 @@
1111
BasePartObject,
1212
BuildPart,
1313
BuildSketch,
14-
Location,
1514
Locations,
1615
Mode,
1716
Rectangle,
1817
RotationLike,
1918
add,
2019
extrude,
21-
fillet,
22-
offset,
2320
)
2421

2522
from .constants import gridfinity_standard

src/gridfinity_build123d/compartments.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,24 @@ def create(
7777
bbox = part.part.bounding_box()
7878

7979
# Select only vertical edges
80-
fillet_edges = part.edges().filter_by(Axis.Z).filter_by_position(
81-
Axis.Z, minimum=bbox.min.Z, maximum=bbox.max.Z - 1.1
80+
fillet_edges = (
81+
part.edges()
82+
.filter_by(Axis.Z)
83+
.filter_by_position(
84+
Axis.Z,
85+
minimum=bbox.min.Z,
86+
maximum=bbox.max.Z - 1.1,
87+
)
8288
)
8389

8490
# Select the rest of the edges (excluding the top face and lower
8591
# edge of the label)
8692
fillet(fillet_edges, gf_bin.inner_radius_v)
8793

8894
fillet_edges = part.edges().filter_by_position(
89-
Axis.Z, minimum=bbox.min.Z, maximum=bbox.max.Z - 1.1
95+
Axis.Z,
96+
minimum=bbox.min.Z,
97+
maximum=bbox.max.Z - 1.1,
9098
)
9199

92100
fillet(fillet_edges, gf_bin.inner_radius)

0 commit comments

Comments
 (0)