Skip to content

Commit eceb1ba

Browse files
committed
fix ruff lint errors
1 parent a9d14da commit eceb1ba

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/rashdf/geom.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ def terrain_modifications(self) -> GeoDataFrame: # noqa D102
466466
raise NotImplementedError
467467

468468
def cross_sections(self, datetime_to_str: bool = False) -> GeoDataFrame:
469-
"""Returns the model 1D cross sections
469+
"""Return the model 1D cross sections.
470470
471471
Returns
472472
-------
@@ -512,7 +512,7 @@ def cross_sections(self, datetime_to_str: bool = False) -> GeoDataFrame:
512512
return xs_gdf
513513

514514
def river_reaches(self, datetime_to_str: bool = False) -> GeoDataFrame:
515-
"""Returns the model 1D river reach lines
515+
"""Return the model 1D river reach lines.
516516
517517
Returns
518518
-------
@@ -576,7 +576,7 @@ def blocked_obstructions(self) -> GeoDataFrame: # noqa D102
576576
raise NotImplementedError
577577

578578
def steady_flow_names(self) -> list:
579-
"""Returns the profile information for each steady flow event
579+
"""Return the profile information for each steady flow event.
580580
581581
Returns
582582
-------
@@ -594,7 +594,7 @@ def steady_flow_names(self) -> list:
594594
return profilenames
595595

596596
def cross_sections_wsel(self) -> pd.DataFrame:
597-
"""Returns the WSEL information for each 1D Cross Section
597+
"""Return the WSEL information for each 1D Cross Section.
598598
599599
Returns
600600
-------
@@ -621,7 +621,7 @@ def cross_sections_wsel(self) -> pd.DataFrame:
621621
return wsel_df_t
622622

623623
def cross_sections_elevations(self) -> pd.DataFrame:
624-
"""Returns the model cross section elevation information
624+
"""Return the model cross section elevation information.
625625
626626
Returns
627627
-------
@@ -653,7 +653,7 @@ def cross_sections_elevations(self) -> pd.DataFrame:
653653
def cross_sections_encroachments(
654654
self, side: str, floodway: str = "floodway"
655655
) -> pd.DataFrame:
656-
"""Returns the encroachment information for a floodway plan hdf.
656+
"""Return the encroachment information for a floodway plan hdf.
657657
658658
Returns
659659
-------
@@ -684,7 +684,7 @@ def cross_sections_encroachments(
684684
return df
685685

686686
def cross_sections_area(self) -> pd.DataFrame:
687-
"""Returns the cross section area for each profile
687+
"""Return the cross section area for each profile.
688688
689689
Returns
690690
-------
@@ -708,7 +708,7 @@ def cross_sections_area(self) -> pd.DataFrame:
708708
return df_xsarea_t
709709

710710
def cross_sections_velocity(self) -> pd.DataFrame:
711-
"""Returns the cross section velocity for each profile
711+
"""Return the cross section velocity for each profile.
712712
713713
Returns
714714
-------

0 commit comments

Comments
 (0)