Skip to content

Commit e959a70

Browse files
committed
reformat file for ruff compliance
1 parent d9a4aba commit e959a70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hecstac/ras/parser.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -945,9 +945,9 @@ def concave_hull(self):
945945
"""Compute and return the concave hull (polygon) for cross sections."""
946946
polygons = []
947947
xs_df = self.xs_gdf # shorthand
948-
assert not all(
949-
[i.is_empty for i in xs_df.geometry]
950-
), "No valid cross-sections found. Possibly non-georeferenced model"
948+
assert not all([i.is_empty for i in xs_df.geometry]), (
949+
"No valid cross-sections found. Possibly non-georeferenced model"
950+
)
951951
assert len(xs_df) > 1, "Only one valid cross-section found."
952952
for river_reach in xs_df["river_reach"].unique():
953953
xs_subset = xs_df[xs_df["river_reach"] == river_reach]

0 commit comments

Comments
 (0)