Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
andresliszt committed Dec 28, 2023
1 parent 75ede7c commit 7354b08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion darts/models/forecasting/forecasting_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 "
Expand Down

0 comments on commit 7354b08

Please sign in to comment.