From 3c01f0ed7a73ba7f1ef1f0adb9e968995b74f041 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 01:15:22 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- finch/processes/wpsio.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/finch/processes/wpsio.py b/finch/processes/wpsio.py index a59986dd..40c17e17 100644 --- a/finch/processes/wpsio.py +++ b/finch/processes/wpsio.py @@ -203,8 +203,17 @@ def get_ensemble_inputs(novar=False): data_type="string", default=None, min_occurs=0, - allowed_values=list(set(list( - chain(*[d.allowed_values["variable"] for d in datasets_config.values()]))) + allowed_values=list( + set( + list( + chain( + *[ + d.allowed_values["variable"] + for d in datasets_config.values() + ] + ) + ) + ) ), ) return dataset, scenario, models, variable