From dfe7be78013def31111a9956d82b18a3fb9c0385 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 3 Dec 2024 16:37:48 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pvconsumer/solar_sheffield_passiv.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pvconsumer/solar_sheffield_passiv.py b/pvconsumer/solar_sheffield_passiv.py index 4dd5e52..1cedfe0 100644 --- a/pvconsumer/solar_sheffield_passiv.py +++ b/pvconsumer/solar_sheffield_passiv.py @@ -39,7 +39,9 @@ def get_all_systems_from_solar_sheffield(pv_system_ids: List[int] = None) -> pd. full_url = f"{url}sheffield_solar_static_data/table_data?user_id={user_id}&key={key}" response = requests.get(full_url) - assert response.status_code == 200, f"Cant get data from {url}sheffield_solar_static_data/table_data" + assert ( + response.status_code == 200 + ), f"Cant get data from {url}sheffield_solar_static_data/table_data" data_df = raw_to_dataframe(response=response)