From af61bb2edd8bcaa8b44e2bf587edfab9074b394d Mon Sep 17 00:00:00 2001 From: Vlad Korolev Date: Fri, 13 Sep 2024 10:27:31 -0400 Subject: [PATCH] Fix lint problems --- rules-engine/tests/test_rules_engine/test_engine.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/rules-engine/tests/test_rules_engine/test_engine.py b/rules-engine/tests/test_rules_engine/test_engine.py index b2be08b8..17ae1e0f 100644 --- a/rules-engine/tests/test_rules_engine/test_engine.py +++ b/rules-engine/tests/test_rules_engine/test_engine.py @@ -184,8 +184,8 @@ def sample_temp_inputs() -> TemperatureInput: } return TemperatureInput( - temperatures=temperature_dict['temperatures'], - dates=[datetime.fromisoformat(x) for x in temperature_dict['dates']], + temperatures=temperature_dict["temperatures"], + dates=[datetime.fromisoformat(x) for x in temperature_dict["dates"]], ) @@ -246,7 +246,8 @@ def sample_normalized_billing_periods() -> list[NormalizedBillingPeriodRecordBas period_end_date=datetime.fromisoformat(x["period_end_date"]), usage=x["usage"], inclusion_override=x["inclusion_override"], - ) for x in billing_periods_dict + ) + for x in billing_periods_dict ] return billing_periods