From 726e43d9178f2895d11ea33bfc15353b039aac20 Mon Sep 17 00:00:00 2001 From: Austin Raney Date: Thu, 25 Jul 2024 16:48:55 -0400 Subject: [PATCH] style: remove unnecessary syntax --- python/hypy/hydrolocation/hydrolocation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/hypy/hydrolocation/hydrolocation.py b/python/hypy/hydrolocation/hydrolocation.py index 3506e36..3ec3e16 100644 --- a/python/hypy/hydrolocation/hydrolocation.py +++ b/python/hypy/hydrolocation/hydrolocation.py @@ -36,11 +36,11 @@ class HydroLocationType(Enum): waterfall = auto() weir = auto() -class HydroLocation(): +class HydroLocation: """ Implementation of the HY Features HydroLocation concept """ - __slots__ = ['_shape', '_type', '_referenced_position', '_realized_nexus'] + __slots__ = ('_shape', '_type', '_referenced_position', '_realized_nexus') def __init__(self, realized_nexus: str,