Skip to content

Commit

Permalink
fix ruff lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
slawler committed Jun 15, 2024
1 parent a9d14da commit eceb1ba
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/rashdf/geom.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ def terrain_modifications(self) -> GeoDataFrame: # noqa D102
raise NotImplementedError

def cross_sections(self, datetime_to_str: bool = False) -> GeoDataFrame:
"""Returns the model 1D cross sections
"""Return the model 1D cross sections.
Returns
-------
Expand Down Expand Up @@ -512,7 +512,7 @@ def cross_sections(self, datetime_to_str: bool = False) -> GeoDataFrame:
return xs_gdf

def river_reaches(self, datetime_to_str: bool = False) -> GeoDataFrame:
"""Returns the model 1D river reach lines
"""Return the model 1D river reach lines.
Returns
-------
Expand Down Expand Up @@ -576,7 +576,7 @@ def blocked_obstructions(self) -> GeoDataFrame: # noqa D102
raise NotImplementedError

def steady_flow_names(self) -> list:
"""Returns the profile information for each steady flow event
"""Return the profile information for each steady flow event.
Returns
-------
Expand All @@ -594,7 +594,7 @@ def steady_flow_names(self) -> list:
return profilenames

def cross_sections_wsel(self) -> pd.DataFrame:
"""Returns the WSEL information for each 1D Cross Section
"""Return the WSEL information for each 1D Cross Section.
Returns
-------
Expand All @@ -621,7 +621,7 @@ def cross_sections_wsel(self) -> pd.DataFrame:
return wsel_df_t

def cross_sections_elevations(self) -> pd.DataFrame:
"""Returns the model cross section elevation information
"""Return the model cross section elevation information.
Returns
-------
Expand Down Expand Up @@ -653,7 +653,7 @@ def cross_sections_elevations(self) -> pd.DataFrame:
def cross_sections_encroachments(
self, side: str, floodway: str = "floodway"
) -> pd.DataFrame:
"""Returns the encroachment information for a floodway plan hdf.
"""Return the encroachment information for a floodway plan hdf.
Returns
-------
Expand Down Expand Up @@ -684,7 +684,7 @@ def cross_sections_encroachments(
return df

Check warning on line 684 in src/rashdf/geom.py

View check run for this annotation

Codecov / codecov/patch

src/rashdf/geom.py#L684

Added line #L684 was not covered by tests

def cross_sections_area(self) -> pd.DataFrame:
"""Returns the cross section area for each profile
"""Return the cross section area for each profile.
Returns
-------
Expand All @@ -708,7 +708,7 @@ def cross_sections_area(self) -> pd.DataFrame:
return df_xsarea_t

def cross_sections_velocity(self) -> pd.DataFrame:
"""Returns the cross section velocity for each profile
"""Return the cross section velocity for each profile.
Returns
-------
Expand Down

0 comments on commit eceb1ba

Please sign in to comment.