From 7354b08d88ae67d91cd091a583b97959a4a436a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s?= Date: Wed, 27 Dec 2023 22:23:52 -0300 Subject: [PATCH] lint --- darts/models/forecasting/forecasting_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/darts/models/forecasting/forecasting_model.py b/darts/models/forecasting/forecasting_model.py index 9a4ae89186..6634203762 100644 --- a/darts/models/forecasting/forecasting_model.py +++ b/darts/models/forecasting/forecasting_model.py @@ -1574,7 +1574,7 @@ def gridsearch( # list of instances of scikit-learn models, the behavior should work like # any argument passed to the Darts model." if isinstance(parameters["model"], dict): - if not "model_class" in parameters["model"]: + if "model_class" not in parameters["model"]: raise_log( ValueError( "When the 'model' key is set as a dictionary, it must contain "