Skip to content

Commit

Permalink
fixup: Format Python code with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Sep 3, 2024
1 parent 21eea31 commit 1737528
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/geoapis/vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ def __init__(
def _set_up(self):
"""Ensure the bouding_polygon and CRS are in agreement."""

error_message = "Either the crs or the bounding_polygon with a CRS mus be specified."
error_message = (
"Either the crs or the bounding_polygon with a CRS mus be specified."
)
if self.crs is None and self.bounding_polygon is None:
logging.error(error_message)
raise ValueError(error_message)
Expand Down Expand Up @@ -164,7 +166,7 @@ def get_json_response_in_bounds(self, layer: int, bounds, geometry_name: str):
logging.info(
f"Layer: {layer} is not `geometry_name`: {geometry_name}."
)
message = (
message = (
f"No geometry types matching that of layer: {layer}. "
f"The geometry_name's tried are: {geometry_type_list}."
)
Expand Down

0 comments on commit 1737528

Please sign in to comment.