From 0a2edc01369c69058ca0e62c1f13e15336215cb1 Mon Sep 17 00:00:00 2001 From: Carsopre Date: Thu, 12 Jan 2023 14:01:37 +0000 Subject: [PATCH] autoformat: isort & black --- koswat/core/geometries/calc_library.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/koswat/core/geometries/calc_library.py b/koswat/core/geometries/calc_library.py index 9d67a70b..5bcd5553 100644 --- a/koswat/core/geometries/calc_library.py +++ b/koswat/core/geometries/calc_library.py @@ -16,7 +16,9 @@ def order_geometry_points(dike_polygon: geometry.Polygon) -> geometry.Polygon: geometry.Polygon: Normalized polygon. """ if isinstance(dike_polygon.boundary, geometry.MultiLineString): - logging.warning("Polygon with 'multi line', most likely due to a geometry split in two parts. Ordering of points is not supported, some calculation errors might occur as a consequence of this.") + logging.warning( + "Polygon with 'multi line', most likely due to a geometry split in two parts. Ordering of points is not supported, some calculation errors might occur as a consequence of this." + ) return dike_polygon _x, _y = tuple(map(list, dike_polygon.boundary.coords.xy)) # remove last point as it's repeated.