Skip to content

Commit

Permalink
style: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
aaraney committed Jul 26, 2024
1 parent e2f1909 commit 794151e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions python/hypy/hydrolocation/nwis_location.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@
from numpy import datetime64
from datetime import datetime
from shapely.geometry import Point

class NWISLocation(HydroLocation):
"""
An NWIS subclass of HydroLocation
"""
__slots__ = ("_station_id",)

def __init__(self,
station_id: str,
realized_nexus: str,
Expand Down
2 changes: 1 addition & 1 deletion python/hypy/nexus.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from .catchment import Catchment, Catchments_Collection
from .hydrolocation.hydrolocation import HydroLocation

class Nexus():
class Nexus:
"""
Implementation of the HY Features Nexus concept.
"""
Expand Down

0 comments on commit 794151e

Please sign in to comment.