Skip to content

Commit

Permalink
remove what mypy said was unnecessary type hinting
Browse files Browse the repository at this point in the history
  • Loading branch information
vtnate committed Jan 14, 2025
1 parent 9c53799 commit 6bd7ca6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion geojson_modelica_translator/model_connectors/model_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(self, system_parameters, template_dir):
}
# Get access to loop order output from ThermalNetwork package.
if "fifth_generation" in district_params and "ghe_parameters" in district_params["fifth_generation"]:
self.loop_order: list = load_loop_order(self.system_parameters.filename)
self.loop_order = load_loop_order(self.system_parameters.filename)

def ft2_to_m2(self, area_in_ft2: float) -> float:
"""Converts square feet to square meters
Expand Down
2 changes: 1 addition & 1 deletion tests/model_connectors/test_district_multi_ghe.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def setUp(self):
sys_params = SystemParameters(sys_param_filename)

# read the loop order and create building groups
loop_order: list = load_loop_order(sys_param_filename)
loop_order = load_loop_order(sys_param_filename)

# create ambient water stub
ambient_water_stub = NetworkDistributionPump(sys_params)
Expand Down
2 changes: 1 addition & 1 deletion tests/model_connectors/test_district_single_ghe.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def setUp(self):
sys_params = SystemParameters(sys_param_filename)

# read the loop order and create building groups
loop_order: list = load_loop_order(sys_param_filename)
loop_order = load_loop_order(sys_param_filename)

# create ambient water loop stub
ambient_water_stub = NetworkDistributionPump(sys_params)
Expand Down

0 comments on commit 6bd7ca6

Please sign in to comment.