Skip to content

Commit 748b9e6

Browse files
committed
lint fix
1 parent 9ddc517 commit 748b9e6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pygridsim/configs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@
7272
"source": SOURCE_CONFIGURATIONS,
7373
"generator": GENERATOR_CONFIGURATIONS,
7474
"line": LINE_CONFIGURATIONS
75-
}
75+
}

pygridsim/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
from altdss import altdss
33

44
from pygridsim.configs import NAME_TO_CONFIG
5-
from pygridsim.enums import LoadType
65
from pygridsim.lines import _make_line
76
from pygridsim.parameters import _make_generator, _make_load_node, _make_pv, _make_source_node
87
from pygridsim.results import _export_results, _query_solution
@@ -209,7 +208,7 @@ def clear(self):
209208

210209
def get_types(self, component: str, show_ranges: bool = False):
211210
"""Provides list of all supported Load Types
212-
211+
213212
Args:
214213
component (str):
215214
Which component to get, one of (one of "load", "source", "pv", "line")
@@ -228,7 +227,8 @@ def get_types(self, component: str, show_ranges: bool = False):
228227
if component_simplified in NAME_TO_CONFIG:
229228
configuration = NAME_TO_CONFIG[component_simplified]
230229
else:
231-
raise KeyError(f"Invalid component input: expect one of {[name for name in NAME_TO_CONFIG]}")
230+
raise KeyError(
231+
f"Invalid component input: expect one of {[name for name in NAME_TO_CONFIG]}")
232232

233233
if not show_ranges:
234234
return [component_type.value for component_type in configuration]

0 commit comments

Comments
 (0)