From dafcca12d85df9fbb1ea427280421eef60bea0b4 Mon Sep 17 00:00:00 2001 From: Praateek Mahajan Date: Thu, 26 Sep 2024 10:00:06 -0700 Subject: [PATCH] fix linting Signed-off-by: Praateek Mahajan --- crossfit/op/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crossfit/op/base.py b/crossfit/op/base.py index e544785..d9ea28d 100644 --- a/crossfit/op/base.py +++ b/crossfit/op/base.py @@ -70,7 +70,8 @@ def add_keep_cols(self, data, output): output[col] = data[col] columns = list(output.columns) - # we use dict.fromkeys to remove duplicates and preserve order (to match _build_dask_meta behavior) + # we use dict.fromkeys to remove duplicates and preserve order + # (to match _build_dask_meta behavior) output = output[list(dict.fromkeys(self.keep_cols + columns))] return output