Skip to content

Commit 930f0b3

Browse files
committed
chore: lint
1 parent 841de48 commit 930f0b3

3 files changed

Lines changed: 12 additions & 499 deletions

File tree

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Remember to update the version of the ruff-pre-commit repo when you update Ruff
33
repos:
44
- repo: https://github.com/astral-sh/ruff-pre-commit
5-
rev: v0.5.7
5+
rev: v0.11.13
66
hooks:
77
- id: ruff
88
args: [--fix]

tests/test_integration.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -401,9 +401,9 @@ def test_intersect_feature_collection_result(self, rectangle_test_data: dict[str
401401
intersection_feature_data["feature_collection_path"], expected_coords
402402
)
403403

404-
assert (
405-
coords_match
406-
), f"Intersection coordinates {actual_coords} do not match expected {expected_coords}"
404+
assert coords_match, (
405+
f"Intersection coordinates {actual_coords} do not match expected {expected_coords}"
406+
)
407407

408408
def test_intersect_feature_collection_result_not_matching(
409409
self, rectangle_test_data: dict[str, str]
@@ -445,9 +445,9 @@ def test_merge_feature_collection_result(self, rectangle_test_data: dict[str, st
445445
merge_feature_data["feature_collection_path"], expected_coords
446446
)
447447

448-
assert (
449-
coords_match
450-
), f"Intersection coordinates {actual_coords} do not match expected {expected_coords}"
448+
assert coords_match, (
449+
f"Intersection coordinates {actual_coords} do not match expected {expected_coords}"
450+
)
451451

452452
def test_merge_feature_collection_result_not_matching(
453453
self, rectangle_test_data: dict[str, str]

0 commit comments

Comments
 (0)