Skip to content

Commit

Permalink
Merge pull request #8 from asfadmin/gjc/feature/bump_version
Browse files Browse the repository at this point in the history
Bump version in pyproject.toml to 0.1.3
  • Loading branch information
gjclark authored Aug 29, 2024
2 parents 51c291f + 5e9bb00 commit 927215c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion geo_extensions/transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def to_polygons(obj: Geometry) -> TransformationResult:
yield obj
return

raise Exception(f"WKT: '{obj}' is not a Polygon or MultiPolygon")
raise Exception(f"'{obj}' is not a Polygon or MultiPolygon")


def _apply_transformations(
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "geo-extensions"
version = "0.1.2"
version = "0.1.3"
description = ""
authors = ["Rohan Weeden <reweeden@alaska.edu>"]
license = "APACHE-2"
Expand Down
6 changes: 3 additions & 3 deletions tests/test_transformer.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def test_from_geo_json_multipolygon(simplify_transformer):
def test_from_wkt_bad_points(simplify_transformer):
with pytest.raises(
Exception,
match=r"WKT: 'POINT \(30 10\)' is not a Polygon or MultiPolygon",
match=r"'POINT \(30 10\)' is not a Polygon or MultiPolygon",
):
simplify_transformer.from_wkt("POINT (30 10)")

Expand All @@ -195,8 +195,8 @@ def test_from_wkt_bad_points(simplify_transformer):

def test_from_geo_json_bad_points(simplify_transformer):
with pytest.raises(
Exception,
match=r"WKT: 'POINT \(30 10\)' is not a Polygon or MultiPolygon",
Exception,
match=r"'POINT \(30 10\)' is not a Polygon or MultiPolygon",
):
simplify_transformer.from_geo_json({
"type": "Point",
Expand Down

0 comments on commit 927215c

Please sign in to comment.