Skip to content

Commit

Permalink
fix ruff-format issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ljwolf committed Dec 19, 2023
1 parent 502303b commit 5177947
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libpysal/cg/standalone.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ def get_polygon_point_dist(poly, pt):
for vertices in poly._vertices:
vx_range = range(-1, len(vertices) - 1)
seg = lambda i: LineSegment( # noqa: E731
vertices[i], # noqa: B023
vertices[i],
vertices[i + 1], # noqa: B023
)
_min_dist = min([get_segment_point_dist(seg(i), pt)[0] for i in vx_range])
Expand Down
2 changes: 1 addition & 1 deletion libpysal/graph/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ def build_spatial_matches(
n_matches=k,
solver=solver,
allow_partial_match=allow_partial_match,
**metric_kwargs
**metric_kwargs,
)
# ids need to be addressed here, rather than in the matching
# because x and y can have different id sets. It's only
Expand Down

0 comments on commit 5177947

Please sign in to comment.