Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 3, 2023
1 parent b576b16 commit 2810bac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion weldx/asdf/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ def convert_wx_shape(path, key, value):
if isinstance(value, dict) and ("wx_shape" in value):
if isinstance(value["wx_shape"], list):
value = value.copy()
value["wx_shape"] = f"[{','.join((str(n) for n in value['wx_shape']))}]"
value["wx_shape"] = f"[{','.join(str(n) for n in value['wx_shape'])}]"

Check warning on line 773 in weldx/asdf/util.py

View check run for this annotation

Codecov / codecov/patch

weldx/asdf/util.py#L773

Added line #L773 was not covered by tests
return key, value

def mark_required(path, key, value):
Expand Down
2 changes: 1 addition & 1 deletion weldx/welding/groove/iso_9692_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def _compute_cross_sect_area_interpolated(self):
profile = self.to_profile()
rasterization = profile.rasterize(self._AREA_RASTER_WIDTH, stack=False)
# skipcq: PYL-R1721
points = [[(x, y) for x, y in shape.m.T] for shape in rasterization]
points = [list(shape.m.T) for shape in rasterization]

return _compute_cross_sect_shape_points(points)

Expand Down

0 comments on commit 2810bac

Please sign in to comment.